HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #593 (closed enhancement: fixed)

Opened 3 years ago

Last modified 9 months ago

Make sdl-config handle hybrid systems

Reported by: pulkomandy Owned by: scottmc
Priority: normal Milestone:
Component: media-libs/libsdl Version:
Severity: normal Keywords:
Cc:

Description

current sdl-config always reports /boot/common/lib as the lib dir. This is not good, because it makes it hard to create a gcc4 SDL app from a gcc2h install. This is one reason we see a lot of people switching to gcc4h.

Attached is a modified sdl-config that :

  • Detects the flavour of Haiku by looking at libsupc++ in system lib dir,
  • Detects the compiler by looking at setgcc output
  • Figures out the right path to use.

I don't know how to integrate it in SDL build system, it looks like the rules used to generate sdl-config there are too simple. I suggest we just replace it after building.

Attachments

sdl-config​ (1.6 KB) - added by pulkomandy 3 years ago.
Modified sdl-config script

Download all attachments as: .zip

Change History

Changed 3 years ago by pulkomandy

  • attachment sdl-config​ added

Modified sdl-config script

comment:1 Changed 3 years ago by pulkomandy

Bug submitted upstream:
 http://bugzilla.libsdl.org/show_bug.cgi?id=1628

comment:2 Changed 9 months ago by pulkomandy

  • Resolution set to fixed
  • Status changed from new to closed

Works better now. There is an sdl-config-x86 and setarch will set the path so it gets used.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/