check-rpaths returns following errors which can be prevented with attached patch... (note on Fedora and openSUSE /usr/lib64 is the standard path for 64bit libraries)

+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
ERROR 0001: file '/usr/bin/fluid' contains a standard rpath '/usr/lib64' in [/usr/lib64]




--- configure.in	2010-03-12 17:58:00.000000000 +0100
+++ configure.in	2010-03-12 21:15:45.474501542 +0100
@@ -268,7 +268,7 @@ if test x$enable_shared = xyes; then
             IMGDSONAME="libfltk_images.so.$FL_API_VERSION"
             CAIRODSONAME="libfltk_cairo.so.$FL_API_VERSION"
             DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
-	    if test "x$libdir" != "x/usr/lib"; then
+	    if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/usr/lib64"; then
 		    DSOLINK="-Wl,-rpath,$libdir"
             fi
 	    ;;
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to