This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ITA: gcc-mingw-* gcc-3 -mno-cygwin support packages; ITP: mingw-binutils/mingw-gcc-* cross compiler


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]