1
0
Fork 0
oh_my_little_overlay/games-emulation/dosbox-x/files/dosbox-x-fix-rpath.patch
2024-11-23 01:15:11 +02:00

12 lines
386 B
Diff

diff --git a/configure.ac b/configure.ac
index 8e98dc4e9..a21cb36f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -422,6 +422,7 @@ if test -n "$SDL2_LIBS"; then
CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
else
if test -n "$SDL_LIBS"; then
+ SDL_LIBS="$(echo "$SDL_LIBS" | sed -e 's/-Wl,-rpath,[[^ ]]\+ //')"
LIBS="$LIBS $SDL_LIBS"
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
else