Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen/build.rs: disable print_system_libs in calls to pkg-config #553

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

MathieuDuponchelle
Copy link
Contributor

By default, pkg-config-rs sets the PKG_CONFIG_ALLOW_SYSTEM_LIBS
environment variable
(rust-lang/pkg-config-rs#35), which leads
to eg /usr/lib being present in the middle of the final command,
in turn leading to issues when working in an uninstalled environment,
where libraries that are also present system-wide do not get linked
against.

By default, pkg-config-rs sets the PKG_CONFIG_ALLOW_SYSTEM_LIBS
environment variable
(rust-lang/pkg-config-rs#35), which leads
to eg /usr/lib being present in the middle of the final command,
in turn leading to issues when working in an uninstalled environment,
where libraries that are also present system-wide do not get linked
against.
@EPashkin
Copy link
Member

Thanks

@EPashkin EPashkin merged commit 6114d1c into gtk-rs:master Feb 23, 2018
vhdirk pushed a commit to vhdirk/gir that referenced this pull request Jul 6, 2018
codegen/build.rs: disable print_system_libs in calls to pkg-config
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.

2 participants