diff options
author | Michel Zou | 2018-10-11 23:48:02 +0200 |
---|---|---|
committer | Michel Zou | 2018-10-11 23:48:02 +0200 |
commit | 0bf88920fb5e33e9ccf63eb80a1810b7c7b9a6a8 (patch) | |
tree | 359dc93748bb2d91422e444c9b35741139488723 /mingw-pkgconfig.sh | |
parent | c3732ae536cae13288305f92913d50fc01ffd069 (diff) | |
download | aur-mingw-w64-pkg-config.tar.gz |
PKG_CONFIG_PATH_CUSTOM
Diffstat (limited to 'mingw-pkgconfig.sh')
-rw-r--r-- | mingw-pkgconfig.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingw-pkgconfig.sh b/mingw-pkgconfig.sh index e1601d732617..e7ae4dcbbf9c 100644 --- a/mingw-pkgconfig.sh +++ b/mingw-pkgconfig.sh @@ -10,12 +10,12 @@ # When using the mingw32msvc cross compiler tools, the native Linux # pkg-config executable works fine as long as the default PKG_CONFIG_LIBDIR # is overridden. -export PKG_CONFIG_LIBDIR=/usr/@TRIPLE@/lib/pkgconfig +export PKG_CONFIG_LIBDIR=/usr/@TRIPLE@/lib/pkgconfig:/usr/@TRIPLE@/share/pkgconfig # Also want to override the standard user defined PKG_CONFIG_PATH with # a mingw32msvc specific one. # You can use PKG_CONFIG_PATH_CUSTOM to tweak pkg-config behavior further -export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR:$PKG_CONFIG_PATH_CUSTOM +export PKG_CONFIG_PATH=${PKG_CONFIG_PATH_CUSTOM}:${PKG_CONFIG_LIBDIR} # Now just execute pkg-config with the given command line args. pkg-config $@ |