From: Mario Date: Sat, 24 Aug 2019 06:13:16 +0000 (+1000) Subject: Fix a weird hardcoded references to a non-existent directory in sdl2-config causing... X-Git-Tag: xonotic-v0.8.5~125 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99517f09dbbb685e29978fa45787b1b1d9bde77a;p=xonotic%2Fxonotic.git Fix a weird hardcoded references to a non-existent directory in sdl2-config causing MSYS2 builds to fail --- diff --git a/misc/builddeps/win32/sdl/bin/sdl2-config b/misc/builddeps/win32/sdl/bin/sdl2-config index a494aff8..24d5792f 100755 --- a/misc/builddeps/win32/sdl/bin/sdl2-config +++ b/misc/builddeps/win32/sdl/bin/sdl2-config @@ -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 diff --git a/misc/builddeps/win64/sdl/bin/sdl2-config b/misc/builddeps/win64/sdl/bin/sdl2-config index 8e0573d8..2bbf13db 100755 --- a/misc/builddeps/win64/sdl/bin/sdl2-config +++ b/misc/builddeps/win64/sdl/bin/sdl2-config @@ -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