FLTK logo

[master] 2280e58 - macOS: remove explicit paths /opt/sw and /sw from configure.ac

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 2280e58 - macOS: remove explicit paths /opt/sw and /sw from configure.ac "ManoloFLTK" Oct 28, 2020  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.