Summary
-pthreads needs to be escaped in call to csc
Metadata
- Id: b21a3d0224d101083c1d4783a4724fa5e3598978
- Trac id: 555
- Type: defect
- Reporter: ckeen
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.6.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2011-04-01 19:01:22 UTC
- Keywords: sdl openbsd
Attachments
- b21a3d0224d101083c1d4783a4724fa5e3598978/attachments/patch-sdl.setup
Description
The sdl egg uses sdl-config to determine the linker flags. On OpenBSD the pthread library is called -pthread for historical reasons. -p is not recognised by csc and therefore needs to be escaped with prepending a -C making it a compiler flag (which gets passed on to the linker later).
The attached patch takes care of the escaping procedure and should not affect other systems or change much else.
Changes and comments
[2011-04-01 19:14:59 UTC] ckeen attached patch-sdl.setup (description=escape unknown compiler flags with -C for csc)
[2011-04-01 20:24:41 UTC] ckeen changed status from new to closed
[2011-04-01 20:24:41 UTC] ckeen set resolution to fixed
[2011-04-01 20:24:41 UTC] ckeen wrote:
patch applied, thank ckeen
[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0
[2011-06-01 09:00:41 UTC] felix wrote:
Milestone 4.7.0 deleted
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted