From 6027c719ba015f2d820db3842148abbf62ea65a4 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 6 Aug 2017 21:21:35 +0300 Subject: [PATCH] configure: allow to override SDL_CONFIG --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 35130cb8..1310ab2c 100755 --- a/configure +++ b/configure @@ -54,7 +54,7 @@ CC="${CC-${CROSS_COMPILE}gcc}" CXX="${CXX-${CROSS_COMPILE}g++}" AS="${AS-${CROSS_COMPILE}as}" STRIP="${STRIP-${CROSS_COMPILE}strip}" -SDL_CONFIG="`$CC --print-sysroot 2> /dev/null || true`/usr/bin/sdl-config" +test -n "$SDL_CONFIG" || SDL_CONFIG="`$CC --print-sysroot 2> /dev/null || true`/usr/bin/sdl-config" MAIN_LDLIBS="$LDLIBS -lm" config_mak="config.mak" -- 2.39.5