Skip to content

Conversation

rofferom
Copy link
Contributor

Default pkg-config-rs behavior is to add default system library paths (ex:
-L/usr/lib/x86_64-linux-gnu). Build setups with custom version of system
libraries won't work because the system library paths may be added at
first in linker parameters.

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

Fixes #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.
@ndesh26 ndesh26 merged commit daa5188 into ndesh26:master Jan 17, 2022
@ndesh26
Copy link
Owner

ndesh26 commented Jan 17, 2022

Thanks for the fix!

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.

pkg_config::find_library probes an unexpected -L to system folder
2 participants