summaryrefslogtreecommitdiff
path: root/graphics/pixie/files/patch-configure
blob: c423707d783ffc12a8f4713066bf6b25230be285 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.orig
+++ configure
@@ -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=""