configure.in
branchSDL-1.2
changeset 3875 fbde7ed1a835
parent 3873 cef30206da53
child 3890 636320238bc8
     1.1 --- a/configure.in	Sun Sep 24 00:36:24 2006 +0000
     1.2 +++ b/configure.in	Sun Sep 24 00:43:36 2006 +0000
     1.3 @@ -2612,10 +2612,10 @@
     1.4  
     1.5  if test "x$enable_rpath" = "xyes"; then
     1.6    if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = irix -o $ARCH = linux -o $ARCH = netbsd; then
     1.7 -    SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib"
     1.8 +    SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}"
     1.9    fi
    1.10    if test $ARCH = solaris; then
    1.11 -    SDL_RLD_FLAGS="-R\${exec_prefix}/lib"
    1.12 +    SDL_RLD_FLAGS="-R\${libdir}"
    1.13    fi
    1.14  else
    1.15    SDL_RLD_FLAGS=""
    1.16 @@ -2630,7 +2630,7 @@
    1.17        SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
    1.18      fi
    1.19      # Evil hack to allow static linking on Mac OS X
    1.20 -    SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"
    1.21 +    SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS"
    1.22      ;;
    1.23    *)
    1.24      SDL_STATIC_LIBS="$SDL_LIBS"