fixed CFLAGS changed to CPPFLAGS [skip appveyor]
@@ -8,9 +8,9 @@ export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib64
export ACLOCAL_FLAGS="-I$PREFIX/share/aclocal"
if [[ "$OSTYPE" == "darwin"* ]]; then
- ./configure --prefix=$PREFIX --enable-introspection=yes CFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib -Wl,-rpath ${PREFIX}/lib"
+ ./configure --prefix=$PREFIX --enable-introspection=yes CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib -Wl,-rpath ${PREFIX}/lib"
else
- ./configure --prefix=$PREFIX --enable-introspection=yes CFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"
+ ./configure --prefix=$PREFIX --enable-introspection=yes CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"
fi
make
