Skip to content
Permalink
Browse files

sdl.m4: don't play with the PATH if cross-compiling

taken from from SDL2
  • Loading branch information
sezero committed Mar 24, 2018
1 parent 34951f7 commit f7aab57364a9d3f608a7f6999b951dd6cc8c11f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 sdl.m4
2 sdl.m4
@@ -35,7 +35,7 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run
fi
as_save_PATH="$PATH"
if test "x$prefix" != xNONE; then
if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
fi
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])

0 comments on commit f7aab57

Please sign in to comment.