diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-06 17:53:45 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-06 17:53:45 +0100 |
| commit | 4197c2616d24b74dd1f48fd18a2145a64a689b35 (patch) | |
| tree | f591f003c10ff01e48a9bb7a6d1f8a351a5d7bff | |
| parent | d2e207754449b2cd8aeb18bee0f6748579c7c8d9 (diff) | |
Use pkg-config to support --enable-pango under Darwin
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f333f255d..64b6a0c67 100644 --- a/configure.ac +++ b/configure.ac @@ -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" |
