[Xorp-cvs] SF.net SVN: xorp:[11586] trunk/xorp/SConstruct

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Thu Nov 26 13:30:28 PST 2009


Revision: 11586
          http://xorp.svn.sourceforge.net/xorp/?rev=11586&view=rev
Author:   bms_fbsd
Date:     2009-11-26 21:30:28 +0000 (Thu, 26 Nov 2009)

Log Message:
-----------
Add use_rtld_origin parameter to control use of rtld ORIGIN
feature when shared libraries are in use.
This is currently commented out, and may be fully implemented later.

Requires support from the runtime linker; most modern ELF systems
support the ORIGIN feature, and it's used by KDE, Firefox and others.

If the user passes use_rtld_origin=true on the scons command line,
the RPATH will use the ELF runtime linker's ORIGIN feature; shared
libraries will be searched relative to the executable's path.

This feature will enable us to build the world once, without relinking
whenever DESTDIR is changed.

Modified Paths:
--------------
    trunk/xorp/SConstruct

Modified: trunk/xorp/SConstruct
===================================================================
--- trunk/xorp/SConstruct	2009-11-26 21:24:26 UTC (rev 11585)
+++ trunk/xorp/SConstruct	2009-11-26 21:30:28 UTC (rev 11586)
@@ -61,6 +61,7 @@
 vars.AddVariables(
     BoolVariable('shared', 'build with shared libraries', False),
     BoolVariable('strip',  'strip executables and libraries when installed', False),
+    #BoolVariable('use_rtld_origin', 'Use ORIGIN in dynamically linked programs ', False),
     BoolVariable('ignore_check_errors', 'Ignore errors when building tests', False),
     BoolVariable('debug_stl',  'Build with checked STL operations', False),
     BoolVariable('debug_msg',  'Build with debug messages', False),


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list