summaryrefslogtreecommitdiff
path: root/graphics/pixie/files/patch-acinclude.m4
blob: 475f06a4f077cef59c5a0c3663f7723e5415b76a (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
--- acinclude.m4.orig	2008-05-03 05:22:57 UTC
+++ acinclude.m4
@@ -45,7 +45,7 @@ AC_ARG_ENABLE(openexr-threads,[  --enable-openexr-thre
   if test "x$enable_static_openexr" == "xyes"; then
     OPENEXR_LIBS="$X_LIBS $openexr_static_libs"
   else
-    OPENEXR_LIBS="$X_LIBS -lIlmImf -lImath -lIex -lHalf -lz"
+    OPENEXR_LIBS="$X_LIBS -lOpenEXR -lIex -lImath -lz"
   fi
 
   AC_MSG_CHECKING(for OpenEXR)
@@ -142,10 +142,10 @@ AC_ARG_ENABLE(static-fltk,[  --enable-static-fltk Spec
   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=""