SDL_mixer/SDL_mixer-libmikmod.patch

14 lines
452 B
Diff

--- configure.in
+++ configure.in
@@ -155,7 +155,9 @@
printf("no\n*** libmikmod is older than %d.%d.%d, not using.\n",maj,min,rev);
return 1;
}
-],,CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
+],
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`";EXTRA_LDFLAGS="$EXTRA_LDFLAGS `$LIBMIKMOD_CONFIG --libs`",
+ CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
[echo $ac_n "cross compiling; assumed OK... $ac_c"])
fi
fi