From c7fb1a1844644536340591d4d0e16180527f1627 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 11 Oct 2012 03:21:08 +0200 Subject: link against shlwapi.dll on Windows for PathIsRelative() --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1e8d3d4..cdc8415 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,10 @@ AC_CHECK_HEADERS([SDL_ttf.h], , [ AC_MSG_ERROR([Required libSDL_ttf header missing!]) ]) +case $build_os in +*mingw*) LIBS="$LIBS -lShlwapi" +esac + PKG_CHECK_MODULES(FFMPEG, [libavcodec libavformat libavutil libswscale], [ CFLAGS="$CFLAGS $FFMPEG_CFLAGS" CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS" -- cgit v1.2.3