updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mingw-w64-pkg-config / x86_64-w64-mingw32-pkg-config
blobbc9948de0b8b26fc0ca0f7594dcf0cc6fd50b8e1
1 #!/bin/bash
3 # Taken from
4 # http://www.mega-nerd.com/erikd/Blog/CodeHacking/MinGWCross/pkg-config.html
5 # Thanks, Erik
7 # This file has no copyright assigned and is placed in the Public Domain.
8 # No warranty is given.
10 # When using the mingw32msvc cross compiler tools, the native Linux
11 # pkg-config executable works fine as long as the default PKG_CONFIG_LIBDIR
12 # is overridden.
13 export PKG_CONFIG_LIBDIR=/opt/mingw64_w64/x86_64-w64-mingw32/lib/pkgconfig
15 # Also want to override the standard user defined PKG_CONFIG_PATH with
16 # a mingw32msvc specific one.
17 # You can use PKG_CONFIG_PATH_CUSTOM to tweak pkg-config behavior further
18 export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR:$PKG_CONFIG_PATH_CUSTOM
20 # Now just execute pkg-config with the given command line args.
21 pkg-config $@