Use CPATH/LIBRARY_PATH instead of CFLAGS/LDFLAGS

This commit is contained in:
ejurgensen 2015-02-17 22:57:30 +01:00
parent 2bf730fbce
commit 6382b11904

View File

@ -86,8 +86,8 @@ if [ "$yn" = "y" ]; then
#export ZLIB_CFLAGS=-I/usr/include
#export ZLIB_LIBS=-L/usr/lib
export CFLAGS="-march=native -g -I/usr/local/include -I/usr/include"
export LDFLAGS="-L/usr/local/lib -L/usr/lib"
export CPATH="/usr/local/include:/usr/include"
export LIBRARY_PATH="/usr/local/lib:/usr/lib"
./configure --build=i386-portbld-freebsd10.1 && gmake
read -p "Should the script install forked-daapd and add service startup scripts? [y/N] " yn