Opened 13 years ago
Closed 13 years ago
#9487 closed Patch - Bug Fix (Fixed)
[PATCH] configure: Fix libs order in check_ld()
Reported by: | Owned by: | markk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.24.1 |
Component: | MythTV - configure script | Version: | Master Head |
Severity: | medium | Keywords: | configure check_ld |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | 1070-config-checkld.diff added |
---|
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.24.1 |
---|---|
Owner: | changed from Janne Grunau to markk |
Status: | new → accepted |
Version: | Unspecified → Trunk Head |
comment:2 Changed 13 years ago by
Resolution: | → Fixed |
---|---|
Status: | accepted → closed |
Commited to fixes/0.24 in c66dceb8f9978d721544
Note: See
TracTickets for help on using
tickets.
Committed to trunk in ef68bf72072f646603ab