Skip to content

build: Avoid to add unwanted system folder in library research paths#12

Open
rofferom wants to merge 1 commit intodcuddeback:masterfrom
rofferom:link-remove-default-syspath
Open

build: Avoid to add unwanted system folder in library research paths#12
rofferom wants to merge 1 commit intodcuddeback:masterfrom
rofferom:link-remove-default-syspath

Conversation

@rofferom
Copy link

Default pkg-config-rs behavior is to add default system library paths (ex: -L/usr/lib/x86_64-linux-gnu).

This is because PKG_CONFIG_ALLOW_SYSTEM_LIBS is set by pkg-config-rs by default. print_system_libs(false) disable this behavior.

I had a similar issue with evdev-rs. There are more explanations about the issue here: ndesh26/evdev-rs#85.

Default pkg-config-rs behavior is to add default system library paths (ex:
-L/usr/lib/x86_64-linux-gnu).

This is because PKG_CONFIG_ALLOW_SYSTEM_LIBS is set by pkg-config-rs by
default. print_system_libs(false) disable this behavior.
@rofferom rofferom force-pushed the link-remove-default-syspath branch from 6807959 to 88f2097 Compare February 14, 2022 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments