Opened 13 years ago
Closed 13 years ago
#9470 closed Bug Report (Fixed)
[PATCH] Win32: Link with correct thread library
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - configure script | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The mythtv configure script contains some logic for detecting the correct compiler flags and libraries to use when pthread support is required on Windows. However, a number of mythtv projects ignore this and just add "LIBS += -lpthread" for Windows builds.
The attached patch replaces "mingw:LIBS += -lpthread" with mingw:LIBS += $$EXTRA_LIBS where EXTRA_LIBS is set in configure to the correct value.
This affects the following projects: kerneldeint yadif libmyth libmythdb libmythhdhomerun libmythtv mythtvosd and programs-libs
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | 1030-pthread.diff added |
---|
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
Version: | Unspecified → Trunk Head |
Note: See
TracTickets for help on using
tickets.
Applied in 1b754e89d3caf6559b4d (slightly modified for recent code changes)