From 2075dc40e299197f93fee8ffe0d953464dadf616 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 9 Apr 2012 06:04:40 +0000 Subject: [PATCH] Add -rpath apparently required by new SDL builds. --- src/conio/Common.gmake | 1 + src/xpdev/Common.gmake | 1 + 2 files changed, 2 insertions(+) diff --git a/src/conio/Common.gmake b/src/conio/Common.gmake index ef226b1ce8..d2f57dc4ac 100644 --- a/src/conio/Common.gmake +++ b/src/conio/Common.gmake @@ -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) diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake index 5db8ddddbf..bc5e5bffba 100644 --- a/src/xpdev/Common.gmake +++ b/src/xpdev/Common.gmake @@ -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 -- GitLab