summaryrefslogtreecommitdiff
path: root/graphics/pixie/files/patch-configure
blob: 5a5410f68a3ad8f9a528c068dc72ca2612d45afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- configure.orig
+++ configure
@@ -12199,7 +12199,7 @@
 old_striplib=
 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   { $as_echo "$as_me:$LINENO: result: yes" >&5
@@ -18418,10 +18418,10 @@
   if test x$FLTK_CONFIG != xno ; then
   	if test x$STATIC_FLTK != xtrue ; then
   	    FLTK_CXXFLAGS="`$FLTK_CONFIG --use-gl --cxxflags`"
-    	FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldstaticflags`"
+    	FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldstaticflags | sed 's/ -R.* / /g'`"
   	else
 	    FLTK_CXXFLAGS="`$FLTK_CONFIG --use-gl --cxxflags`"
-    	FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldflags`"
+    	FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldflags | sed 's/ -R.* / /g'`"
     fi
   else
     FLTK_CXXFLAGS=""