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 a494aff..24d5792 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 8e0573d..2bbf13d 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