Opened 13 years ago

Closed 13 years ago

#9470 closed Bug Report (Fixed)

[PATCH] Win32: Link with correct thread library

Reported by: Lawrence Rust <lvr@…> 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)

1030-pthread.diff (3.4 KB) - added by Lawrence Rust <lvr@…> 13 years ago.

Download all attachments as: .zip

Change History (2)

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

Attachment: 1030-pthread.diff added

comment:1 Changed 13 years ago by markk

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed
Version: UnspecifiedTrunk Head

Applied in 1b754e89d3caf6559b4d (slightly modified for recent code changes)

Note: See TracTickets for help on using tickets.