[Qt-interest] unix/compile.test
Paul Floyd
paulf at free.fr
Fri Mar 20 22:33:27 CET 2009
Thiago Macieira wrote:
>
> If the order is wrong, then the order was wrong in whatever called the
> test.
>
> Do you have a specific case where this is a problem? If so, where are the
> linker flags coming from?
This was when trying to build KDE 4 on Solaris, so probably with mods
here and there.
As it stands, the configure script test for qsql is
"$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE
"$relpath" "$outpath" config.tests/unix/psql "PostgreSQL"
$QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS
and this was causing -lss -lcrypto to appear before their directory in
the Makefile, and this test was failing.
I didn't get as far as tracking down exactly what was wrong - it might
have been some patch or it might have been the extensive LDFLAGS and
CFLAGS used when invoking the configure script. When I looked at
compile.test, it struck me that it was doing nothing to enforce the
order of -L and -l, so I sent a mail with my idea of improving it.
A+
Paul
More information about the Qt-interest-old
mailing list