On Mon, 2011-01-24 at 11:54 -0500, Charles Wilson wrote:
> Err...why?
> 
> exec_prefix=/usr/i686-pc-mingw32/sys-root/mingw
> sharedlibdir=$(exec_prefix)/bin

pkg-config does not substitute $(parenthesis), only ${curly_brackets}:

$ PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig \
pkg-config --libs zlib
-L/usr/i686-pc-mingw32/sys-root/mingw/lib -L\$\(exec_prefix\)/bin -lz

gcc (or libtool?) doesn't like this, as I found out when I updated my
mingw-glib2.0.


Yaakov


Reply via email to