#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)
Change History (4)
Changed 14 years ago by
Attachment: | patch-sdl.setup added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch applied, thank ckeen
Note: See
TracTickets for help on using
tickets.
escape unknown compiler flags with -C for csc