Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4, 5.13.0
-
None
-
-
c450e8bd208972d36f707269cac42bcd3ee4e105 (qt/qtbase/5.12) 8c0787cfa1a906ebe25907515d86050303b127e7 (qt/qtbase/5.13)
Description
I'm building Qt 5.13.0 from source, and all of the generated la files contain dependencies that do not make sense and will cause builds to fail if they're used.
Here's an example for libQt5Widgets.la
dependency_libs='/libQt5Gui.so /libQt5Core.so -lpthread '
I think it should be:
dependency_libs='-lQt5Gui -lQt5Core -lpthread '
Edit: My configure options
PYTHON=/usr/bin/python2 ./configure -v -confirm-license -opensource \ -prefix /usr \ -bindir /usr/bin \ -docdir /usr/share/doc/qt \ -headerdir /usr/include/qt \ -archdatadir /usr/lib/qt \ -datadir /usr/share/qt \ -sysconfdir /etc/xdg \ -examplesdir /usr/share/doc/qt/examples \ -plugin-sql-{mysql,sqlite,odbc,ibase} \ -system-sqlite \ -openssl-linked \ -nomake examples \ -no-rpath \ -optimized-qmake \ -dbus-linked \ -system-harfbuzz \ -journald \ -no-use-gold-linker \ -reduce-relocations
Attachments
For Gerrit Dashboard: QTBUG-76625 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
266168,3 | Fix .la/.pc replacements if libdir is in QMAKE_DEFAULT_LIBDIRS | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
269110,1 | qmake: fix libtool la file dependency_libs entries | 5.12 | qt/qtbase | Status: ABANDONED | -1 | 0 |
269146,8 | Fix dependency_libs entry of .la files | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |