restored env settings in build.sh [skip appveyor][skip ci]
@@ -8,6 +8,14 @@ PACKAGE_HOME=${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}-${PKG_BUILDNUM}
mkdir -p ${BINARY_HOME}
mkdir -p ${PACKAGE_HOME}
+export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
+export CFLAGS="${CFLAGS} -I${PREFIX}/include"
+export CXXFLAGS="${CXXFLALGS} -I${PREFIX}/include"
+export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
+export C_INCLUDE_PATH=${C_INCLUDE_PATH}:${PREFIX}/include
+export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:${PREFIX}/include
+export LIBRARY_PATH=${LIBRARY_PATH}:${PREFIX}/lib
+
export STACK_ROOT=${PACKAGE_HOME}/stackroot
mkdir -p ${STACK_ROOT}
