kiss-community / community

Officially unofficial KISS community repository, mirror of https://codeberg.org/kiss-community/community
https://kisscommunity.org
MIT License
49 stars 34 forks source link

sdl2: disable rpath #1261

Closed git-bruh closed 2 years ago

git-bruh commented 2 years ago

@tslilc This is required as the kiss dependency detector has been modified to not run if it detects a non-relative RPATH -- sdl2 sets rpath to /usr/lib in it's pkgconfig file so anything linking to it gets an rpath set.

diff --git a/community/sdl2/build b/community/sdl2/build
index 22acc4a5..c4ef8a73 100755
--- a/community/sdl2/build
+++ b/community/sdl2/build
@@ -3,6 +3,7 @@
 ./configure \
     --disable-video-opengl \
     --enable-video-opengles \
+    --disable-rpath \
     --prefix=/usr

 make
diff --git a/community/sdl2/version b/community/sdl2/version
index c95bbf0c..83b5be28 100644
--- a/community/sdl2/version
+++ b/community/sdl2/version
@@ -1 +1 @@
-2.24.0 1
+2.24.0 2