Remove '/': prefix always starts with '/'

brew --prefix retruns a fully qualified path, so using -L/$prefix results in a path with two leading '/'.
This commit is contained in:
Florin 2013-11-22 02:07:08 +01:00
parent 35454b35d8
commit c89d59c38a

View file

@ -243,7 +243,7 @@ case $host in
bdb_prefix=`$BREW --prefix berkeley-db4`
export PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
LIBS="$LIBS -L/$bdb_prefix/lib"
LIBS="$LIBS -L$bdb_prefix/lib"
fi
fi