DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2255
Version: 2.0-current


Consider this two patches, which prevent FLTK2 build system to create
libraries with RPATH:

--- configure.in        2008-08-05 00:53:30.000000000 +0200
+++ configure.in.new    2008-12-22 12:09:24.030693986 +0100
@@ -186,9 +186,6 @@ if test x$enable_shared = xyes; then
        Linux* | *BSD*)
 #           DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC
$DEBUGFLAG -o"
             DSOCOMMAND="\$(CXX) \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
-           if test "$libdir" != "/usr/lib"; then
-                   DSOLINK="-Wl,-rpath,$libdir"
-            fi
            ;;
        AIX*)
            DSOSUFFIX="_s.a"

--- fltk2-config.in     2006-04-15 19:43:12.000000000 +0200
+++ fltk2-config.in.new 2009-06-17 13:52:16.000000000 +0200
@@ -168,7 +168,6 @@ do
       bindir=${exec_prefix}
       includedir=${prefix}/include
       libdir=${prefix}/lib
-      DSOLINK="-Wl,-rpath,${prefix}/lib"
            ;;
        --prefix)
            echo_prefix=yes


Why we don't like RPATH:
https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath


Link: http://www.fltk.org/str.php?L2255
Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to