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 | |
parent | c3732ae536cae13288305f92913d50fc01ffd069 (diff) | |
download | aur-0bf88920fb5e33e9ccf63eb80a1810b7c7b9a6a8.tar.gz |
PKG_CONFIG_PATH_CUSTOM
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | mingw-pkgconfig.sh | 4 |
3 files changed, 6 insertions, 8 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Tue Feb 2 19:45:24 UTC 2016 pkgbase = mingw-w64-pkg-config pkgdesc = Support pkg-config script (does not depend on any particular version of pkg-config). Useful for pkg-config powered cross-compiling with mingw-w64, see http://tinyurl.com/pkg-config-cross for more info pkgver = 2 - pkgrel = 3 + pkgrel = 4 url = http://pkg-config.freedesktop.org/ install = mingw-w64-pkg-config.install arch = any @@ -11,7 +9,7 @@ pkgbase = mingw-w64-pkg-config depends = pkg-config depends = mingw-w64-crt source = mingw-pkgconfig.sh - md5sums = ac8ea293618b2b94d7db14b52db5cf72 + md5sums = SKIP pkgname = mingw-w64-pkg-config @@ -1,6 +1,6 @@ pkgname=mingw-w64-pkg-config pkgver=2 -pkgrel=3 +pkgrel=4 pkgdesc='Support pkg-config script (does not depend on any particular version of pkg-config). Useful for pkg-config powered cross-compiling with mingw-w64, see http://tinyurl.com/pkg-config-cross for more info' arch=('any') url='http://pkg-config.freedesktop.org/' @@ -8,7 +8,7 @@ license=('zlib') depends=('pkg-config' 'mingw-w64-crt') source=('mingw-pkgconfig.sh') install='mingw-w64-pkg-config.install' -md5sums=('ac8ea293618b2b94d7db14b52db5cf72') +md5sums=('SKIP') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" 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 $@ |