Bug#607181: Fix FTBFS with ld --as-needed
Matthias Klose
doko at ubuntu.com
Wed Dec 15 12:34:08 UTC 2010
Package: freecad
Version: 0.10.3247.dfsg-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed
patch at:
http://launchpadlibrarian.net/60670385/freecad_0.10.3247.dfsg-2ubuntu2_0.10.3247.dfsg-2ubuntu3.diff.gz
--- freecad-0.10.3247.dfsg.orig/acinclude.m4
+++ freecad-0.10.3247.dfsg/acinclude.m4
@@ -374,7 +374,7 @@
fi
# Make sure not to link against X11 libs so that configure succeeds whithout
xserver started
-bnv_try_4="$CXX $fc_qt4_lib_core $LIBS -o myqt myqt.o moc_myqt.o"
+bnv_try_4="$CXX myqt.o moc_myqt.o $fc_qt4_lib_core $LIBS -o myqt"
AC_TRY_EVAL(bnv_try_4)
if test x"$ac_status" != x0; then
AC_MSG_ERROR([Failed to link with Qt, bye...])
More information about the debian-science-maintainers
mailing list