[mythtv-commits] Ticket #9487: [PATCH] configure: Fix libs order in check_ld()
MythTV
noreply at mythtv.org
Mon Jan 17 19:12:24 UTC 2011
#9487: [PATCH] configure: Fix libs order in check_ld()
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Owner: janne
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - configure script | Version: Unspecified
Severity: medium | Keywords: configure
Ticket locked: 0 | check_ld
-------------------------------------------------+-------------------------
The configure script defines the function check_ld which tests if a named
function can be compiled with specified headers and libraries. However,
the libraries are placed after $extralibs in the linker invocation which
can cause the link to fail if the tested libraries depend on $extralibs.
This situation occurs for Windows when $extralibs contains the pthreads
library and the library under test (e,g. libfftw3) uses pthreads.
The solution is to move $extralibs after the libraries under test. The
attached patch does this.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9487>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list