Add compiler and linker flags to make gcc look in /usr/local/ for dependencies (so...
authorIan Silvester <iansilvester@fastmail.fm>
Thu, 22 Mar 2012 01:12:41 +0000 (01:12 +0000)
committerIan Silvester <iansilvester@fastmail.fm>
Thu, 22 Mar 2012 01:12:41 +0000 (01:12 +0000)
build.sh

index 35f7b43..0a47551 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -79,7 +79,7 @@ echo "Notice: configuring the privoxy software."
 cd ../${SOURCE_DIR}
 /usr/bin/autoheader
 /usr/bin/autoconf
-/usr/bin/env CFLAGS="${CFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" LDFLAGS="${LDFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" ./configure ${OPTS}
+/usr/bin/env CFLAGS="${CFLAGS} -I/usr/local/include/ ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" LDFLAGS="${LDFLAGS} -L/usr/local/lib ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" ./configure ${OPTS}
 
 #
 # clean, then make privoxy