use $libdir instead of $prefix/lib to find library dir

This commit is contained in:
Josh Coalson
2004-05-26 20:20:22 +00:00
parent 5b4b9d2e98
commit 42a167fe20
5 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ AC_ARG_ENABLE(libFLACtest, [ --disable-libFLACtest Do not try to compile
elif test "x$libFLAC_prefix" != "x" ; then
LIBFLAC_LIBS="-L$libFLAC_prefix/lib"
elif test "x$prefix" != "xNONE" ; then
LIBFLAC_LIBS="-L$prefix/lib"
LIBFLAC_LIBS="-L$libdir"
fi
LIBFLAC_LIBS="$LIBFLAC_LIBS -lFLAC -lm"