4d5fa97
diff -up fltk-1.1.9/configure.in.rpath fltk-1.1.9/configure.in
4d5fa97
--- fltk-1.1.9/configure.in.rpath	2008-04-11 11:53:01.000000000 -0500
4d5fa97
+++ fltk-1.1.9/configure.in	2009-05-13 10:20:15.159163817 -0500
4d5fa97
@@ -180,9 +180,9 @@ if test x$enable_shared = xyes; then
1c01bd4
             GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
1c01bd4
             IMGDSONAME="libfltk_images.so.$FL_API_VERSION"
1c01bd4
             DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
1c01bd4
-	    if test "x$libdir" != "x/usr/lib"; then
1c01bd4
-		    DSOLINK="-Wl,-rpath,$libdir"
1c01bd4
-            fi
1c01bd4
+#	    if test "x$libdir" != "x/usr/lib"; then
1c01bd4
+#		    DSOLINK="-Wl,-rpath,$libdir"
1c01bd4
+#	    fi
1c01bd4
 	    ;;
1c01bd4
 	AIX*)
1c01bd4
             DSONAME="libfltk_s.a"
4d5fa97
diff -up fltk-1.1.9/configure.rpath fltk-1.1.9/configure
4d5fa97
--- fltk-1.1.9/configure.rpath	2008-04-27 03:28:21.000000000 -0500
4d5fa97
+++ fltk-1.1.9/configure	2009-05-13 10:20:15.164164455 -0500
4d5fa97
@@ -1930,9 +1930,9 @@ if test x$enable_shared = xyes; then
1c01bd4
             GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
1c01bd4
             IMGDSONAME="libfltk_images.so.$FL_API_VERSION"
1c01bd4
             DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
1c01bd4
-	    if test "x$libdir" != "x/usr/lib"; then
4d5fa97
+	    if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/usr/lib32" -a "x$libdir" != "x/usr/lib64"; then
4d5fa97
 		    DSOLINK="-Wl,-rpath,$libdir"
1c01bd4
-            fi
4d5fa97
+	    fi
1c01bd4
 	    ;;
1c01bd4
 	AIX*)
1c01bd4
             DSONAME="libfltk_s.a"