sdl: fix a build issue on OSX due to x11 being installed in a non-standard location on OSX (sf#578)
This commit is contained in:
parent
3d9095fc29
commit
1975f4c8b1
|
@ -1,7 +1,10 @@
|
|||
# Fix compliation error about 'XKeysymToString' by linking X11 explicitly
|
||||
# Thanks Antonio Ospite!
|
||||
Import('env')
|
||||
env.ParseConfig('pkg-config --cflags --libs x11')
|
||||
config_string = 'pkg-config --cflags --libs x11'
|
||||
if env['PLATFORM'] == 'darwin':
|
||||
config_string = 'PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/ ' + config_string
|
||||
env.ParseConfig(config_string)
|
||||
Export('env')
|
||||
|
||||
source_list = Split("""
|
||||
|
|
Loading…
Reference in New Issue