Revert "Use CPATH/LIBRARY_PATH instead of CFLAGS/LDFLAGS"

This reverts commit 6382b11904.
This commit is contained in:
ejurgensen 2015-02-19 19:28:42 +01:00
parent 02581f1aab
commit 763e042325

View File

@ -86,8 +86,8 @@ if [ "$yn" = "y" ]; then
#export ZLIB_CFLAGS=-I/usr/include
#export ZLIB_LIBS=-L/usr/lib
export CPATH="/usr/local/include:/usr/include"
export LIBRARY_PATH="/usr/local/lib:/usr/lib"
export CFLAGS="-march=native -g -I/usr/local/include -I/usr/include"
export LDFLAGS="-L/usr/local/lib -L/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