[vcpkg_setup_pkgconfig_path] Add new functions to set or restore pkgconfig related environment variables#23429
Conversation
|
@jcc10 Can you please test this PR? Thanks. |
|
I think we need to decide whether we want to prepend or to append. The current behaviour is to append, but normally vcpkg packages should be preferred over system packages AFAIU. |
|
PREPEND it should be. |
|
but really. The pkgconfig setup should be turned into its own function to make it consistent everywhere. |
Agreed. EDIT: also, |
|
ncurses: mismatched debug and release lib count. Related: #23476. Fixing in #23478. python2 / python3: Missing installation of bz2 dynamic library in debug mode. libgnutls: Same issue in the upstream: https://www.mail-archive.com/gnutls-help@lists.gnutls.org/msg01418.html |
|
Depends on #23478. |
strega-nil
left a comment
There was a problem hiding this comment.
Bringing it up in the meeting
|
This should be done with a private |
strega-nil-ms
left a comment
There was a problem hiding this comment.
(make it internal)
BillyONeal
left a comment
There was a problem hiding this comment.
I'm "request changes" over what look like extra/missing remaining calls trying to backup/restore PKG_CONFIG_PATH with vcpkg_restore_env_variables. (The documentation changes are nitpicks)
|
The x86-windows failures don't look related to this so I'm going to azp run this again as soon as the other platforms finish building... |
|
/azp run |
1 similar comment
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Thanks! |
ENV{PKG_CONFIG_PATH}shouldn't be added again.Fixes #22812.