updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / mingw32-pkgconfig / i486-mingw32-pkg-config
blob73dd3507db79c937ce37014a34a1ccf3f5c28a0e
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=/usr/i486-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 $@