|
|
commit 2280e5838a69c43ee00ce968d49a17c88f71bd4e
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Thu Oct 29 07:39:02 2020 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Thu Oct 29 07:39:33 2020 +0100
macOS: remove explicit paths /opt/sw and /sw from configure.ac
configure.ac | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git configure.ac configure.ac
index d2202c4..2ff5977 100644
--- configure.ac
+++ 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*)
[ Direct Link to Message ] | |
|
| |