Building wxWidgets under MinGW/MSYS for use with Eclipse

Lars Uffmann aral at nurfuerspam.de
Mon May 5 07:39:25 PDT 2008



One other Issue:

I found that the configure.in script uses the variable
   wx_top_builddir="`pwd`"
to later store the lib files in
   $(wx_top_builddir)/lib
which means that
   ./configure --prefix=/mingw
or
   ./configure --bindir=/mingw/bin --libdir=mingw/lib
is basically ignored (for the lib output folder).

Do I have to mess with the wx_top_builddir variable in the configure 
script? And may I, or is that going to cause more problems?

I would like to not mess with the Makefile but rather with the original 
configuration file, so I was thinking along the lines of (in MSYS shell)

cd /mingw/wxWidgets-2.8.7
sed 's/LIBDIRNAME = $(wx_top_builddir)\/lib/LIBDIRNAME = @libdir@/g' 
Makefile.in > Makefile.in.new
mv Makefile.in.new Makefile.in
./configure --prefix=/mingw

Or is Makefile.in the wrong file to edit?

Thanks for any feedback!

    Lars


More information about the wx-users mailing list