mirror of
https://github.com/fltk/fltk.git
synced 2026-05-25 09:17:49 +08:00
Use pkg-config to support --enable-pango under Darwin
This commit is contained in:
+2
-2
@@ -1089,8 +1089,8 @@ case $host_os_gui in
|
||||
if test x$enable_pango = xyes; then
|
||||
case $host_os in
|
||||
darwin*)
|
||||
CXXFLAGS="-I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include $CXXFLAGS"
|
||||
PANGOLIBDIR="-L/sw/lib"
|
||||
CXXFLAGS="`pkg-config --cflags pango` $CXXFLAGS"
|
||||
PANGOLIBDIR="`pkg-config --libs-only-L pango`"
|
||||
;;
|
||||
linux*)
|
||||
CXXFLAGS="-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include $CXXFLAGS"
|
||||
|
||||
Reference in New Issue
Block a user