From 2280e5838a69c43ee00ce968d49a17c88f71bd4e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 29 Oct 2020 07:39:02 +0100 Subject: macOS: remove explicit paths /opt/sw and /sw from configure.ac --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d2202c469..2ff5977e1 100644 --- a/configure.ac +++ b/configure.ac @@ -1111,10 +1111,11 @@ case $host_os_gui in CXXFLAGS="`$PKGCONFIG --cflags pangocairo` $CXXFLAGS" LIBS="`$PKGCONFIG --libs pangocairo` $LIBS" case $host_os in - darwin*) - LDFLAGS="-L/opt/sw/lib -L/sw/lib $LDFLAGS" - ;; - esac + darwin*) + dnl make sure LDFLAGS is appropriate for cairo (and pango) + LDFLAGS="`$PKGCONFIG --libs cairo` $LDFLAGS" + ;; + esac else case $host_os in linux*) -- cgit v1.2.3