Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#555 closed defect (fixed)

-pthreads needs to be escaped in call to csc

Reported by: Christian Kellermann Owned by:
Priority: major Milestone: 4.9.0
Component: extensions Version: 4.6.x
Keywords: sdl openbsd Cc:
Estimated difficulty:

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.

Attachments (1)

patch-sdl.setup (1.8 KB) - added by Christian Kellermann 10 years ago.
escape unknown compiler flags with -C for csc

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Christian Kellermann

Attachment: patch-sdl.setup added

escape unknown compiler flags with -C for csc

comment:1 Changed 10 years ago by Christian Kellermann

Resolution: fixed
Status: newclosed

patch applied, thank ckeen

comment:2 Changed 10 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:3 Changed 9 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.