]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Fix a weird hardcoded references to a non-existent directory in sdl2-config causing...
authorMario <mario@smbclan.net>
Sat, 24 Aug 2019 06:13:16 +0000 (16:13 +1000)
committerMario <mario@smbclan.net>
Sat, 24 Aug 2019 06:13:16 +0000 (16:13 +1000)
misc/builddeps/win32/sdl/bin/sdl2-config
misc/builddeps/win64/sdl/bin/sdl2-config

index a494aff8df73065267637b4b945cbf1e5394e3ab..24d5792f35ffb60ec5bbeab46bfac6a8368fcb01 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-prefix=/opt/local/i686-w64-mingw32
+prefix=${0%/bin/sdl2-config}
 exec_prefix=${prefix}
 exec_prefix_set=no
 libdir=${exec_prefix}/lib
index 8e0573d8d1c5df9f5e81ad218e2049f8d95204d5..2bbf13db6e997b1effccd25251bff5252662feaf 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-prefix=/opt/local/x86_64-w64-mingw32
+prefix=${0%/bin/sdl2-config}
 exec_prefix=${prefix}
 exec_prefix_set=no
 libdir=${exec_prefix}/lib