Commit 1299930e authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Set the correct PKG_CONFIG_LIB and PKG_CONFIG_PATH environment variables....

Set the correct PKG_CONFIG_LIB and PKG_CONFIG_PATH environment variables. These are needed for building wxwidgets properly.
parent b4681ede
......@@ -132,6 +132,16 @@ case $HOST in
EXTRA_CPPFLAGS=" -D_WIN32_WCE"
;;
*)
if test "$HOST" = "$BUILD"; then
if test -d "/usr/lib/pkgconfig"; then
if test -z "$PKG_CONFIG_PATH"; then
echo "PKG_CONFIG_PATH = /usr/lib/pkgconfig" >> config.mak
fi
if test -z "$PKG_CONFIG_LIBDIR"; then
echo "PKG_CONFIG_LIBDIR = /usr/lib/pkgconfig" >> config.mak
fi
fi
fi
;;
esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment