[Qt-interest] Adding to QMAKE_LFLAGS in Makefile
Albert Chin
qt-interest at mlists.thewrittenword.com
Thu Jan 8 21:07:50 CET 2009
While building Qt 4.4.3 with GCC, I need to add the GCC runtime path to
LFLAGS so the G++ libstdc++.so library is found on the platform I'm
building on. How do I do this?
On Solaris 10/SPARC:
$ bzip2 -dc qt-x11-opensource-src-4.4.3.tar.bz2 | tar xf -
$ cd qt-x11-opensource-src-4.4.3
$ PATH=/opt/fsw/gcc42/bin:$PATH bash ./configure \
-R /opt/fsw/gcc42r/lib -verbose -release -shared \
-platform solaris-g++
...
Looking at qmake/Makefile I see:
QMAKE_LFLAGS_1 =
QMAKE_LFLAGS = $(QMAKE_LFLAGS_1)
How do I add -R/opt/fsw/gcc42r/lib to QMAKE_LFLAGS_1 or QMAKE_LFLAGS?
--
albert chin (china at thewrittenword.com)
More information about the Qt-interest-old
mailing list