[mythtv-commits] Ticket #9469: [PATCH] Fix configure so rebuilds link against latest libs
MythTV
noreply at mythtv.org
Mon Jan 10 13:23:23 UTC 2011
#9469: [PATCH] Fix configure so rebuilds link against latest libs
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Owner: janne
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - configure script | Version: Trunk Head
Severity: medium | Keywords: qmake
Ticket locked: 0 | libdir
-------------------------------------------------+-------------------------
When changes to mythtv library components affect the symbols exported, it
is important that future re-builds use the correct -L paths to avoid
linking with old libraries. This is most important if Qt and MythTV are
installed with the same prefix. The mythtv configure script has some code
to deal with this situation:
{{{
QMAKE_LIBDIR_QT-=${sysroot}${libdir}
}}}
This removes the extra-libs path from the front of the search path and
later appends it to the end. However, with Qt 4.7.x (maybe others) the
Qmake variable QMAKE_LIBDIR also affects the search order. The attached
patch applies the same logic to that variable. The resulting Makefiles
then have the correct path order for LIBS.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9469>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list