1
0
Fork 0
oh_my_little_overlay/games-emulation/dosbox-x/files/dosbox-x-fix-rpath.patch

13 lines
386 B
Diff
Raw Normal View History

2024-11-23 04:15:11 +05:00
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