mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
SDL2 build issues on Mac OS X appear to be related to Brew include paths coming before our own internal SDL2 library, causing confusion
This commit is contained in:
@@ -15,6 +15,12 @@ chmod +x vs/sdl/build-scripts/strip_fPIC.sh
|
||||
# prefer to compile against our own copy of SDL 1.x
|
||||
echo Compiling our internal SDL 1.x
|
||||
(cd vs/sdl && ./build-dosbox.sh) || exit 1
|
||||
new="-I$top/vs/sdl/linux-host/include "
|
||||
nld="-L$top/vs/sdl/linux-host/lib "
|
||||
export CFLAGS="$new$CFLAGS"
|
||||
export LDFLAGS="$nld$LDFLAGS"
|
||||
export CPPFLAGS="$new$CPPFLAGS"
|
||||
export CXXFLAGS="$new$CXXFLAGS"
|
||||
|
||||
# FIXME: SDLnet will compile a static library that targets a foreign architecture,
|
||||
# and then ld will complain about it????????
|
||||
|
Reference in New Issue
Block a user