Skip to content
Snippets Groups Projects
Commit 2075dc40 authored by deuce's avatar deuce
Browse files

Add -rpath apparently required by new SDL builds.

parent e13356d5
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ ifdef USE_SDL
endif
ifdef SDL_FRAMEWORK_PATH
WITH_SDL := 1
CIOLIB-MT_LDFLAGS += -Wl,-rpath,@executable_path/../Frameworks
endif
else
ifeq ($(shell sdl-config --cflags > /dev/null 2>&1 && echo YES),YES)
......
......@@ -150,6 +150,7 @@ ifdef WITH_SDL_AUDIO
XPDEV_CFLAGS += -DWITH_SDL_AUDIO -DSTATIC_SDL
XPDEV_CFLAGS += -I${SDL_FRAMEWORK_PATH}/SDL.framework/Headers
XPDEV_LIBS += -F${SDL_FRAMEWORK_PATH} -framework SDL -framework Cocoa -framework Carbon -I${SDL_FRAMEWORK_PATH}/SDL.framework/Headers
XPDEV-MT_LDFLAGS += -Wl,-rpath,@executable_path/../Frameworks
endif
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment