summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-07 23:18:54 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-07 23:18:54 +0000
commitd9bda12ea4326ec0215a9f18801b62e0164e1809 (patch)
tree12c06663b654d3ddaeb0634616833a5f2a219dc1
parentStable on x86. (diff)
downloadgentoo-2-d9bda12ea4326ec0215a9f18801b62e0164e1809.tar.gz
gentoo-2-d9bda12ea4326ec0215a9f18801b62e0164e1809.tar.bz2
gentoo-2-d9bda12ea4326ec0215a9f18801b62e0164e1809.zip
check prefix rather than libdir
-rw-r--r--media-libs/libsdl/files/libsdl-1.2.8-sdl-config.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-libs/libsdl/files/libsdl-1.2.8-sdl-config.patch b/media-libs/libsdl/files/libsdl-1.2.8-sdl-config.patch
index a27f098859ec..4457be2ffc88 100644
--- a/media-libs/libsdl/files/libsdl-1.2.8-sdl-config.patch
+++ b/media-libs/libsdl/files/libsdl-1.2.8-sdl-config.patch
@@ -9,7 +9,7 @@ Makes ABI / cross-compiling easier on the soul.
;;
@ENABLE_SHARED_TRUE@ --libs)
-@ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
-+@ENABLE_SHARED_TRUE@ if test x"@libdir@" != x"/usr/lib" ; then
++@ENABLE_SHARED_TRUE@ if test x"${prefix}" != x"/usr" ; then
+@ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
+@ENABLE_SHARED_TRUE@ else
+@ENABLE_SHARED_TRUE@ libdirs=""