Opened 14 years ago

Closed 14 years ago

#9469 closed Patch - Bug Fix (Fixed)

[PATCH] Fix configure so rebuilds link against latest libs

Reported by: Lawrence Rust <lvr@…> Owned by: Janne Grunau
Priority: minor Milestone: 0.25
Component: MythTV - configure script Version: Master Head
Severity: medium Keywords: qmake libdir
Cc: Ticket locked: no

Description

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.

Attachments (1)

1020-configure.diff (403 bytes) - added by Lawrence Rust <lvr@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Lawrence Rust <lvr@…>

Attachment: 1020-configure.diff added

comment:1 Changed 14 years ago by markk

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed

Applied in e280511e551fff9ef05a

Note: See TracTickets for help on using tickets.