VirtualBox

Changeset 7844 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 9, 2008 3:21:24 PM (17 years ago)
Author:
vboxsync
Message:

Made the rpath $ORIGIN feature available to everyone (was solaris specific) so developers can drop that annoying LD_LIBRARY_PATH stuff. (Make sure your ld.so groks $ORIGIN and add VBOX_WITH_ORIGIN=1 to LocalConfig.kmk.) Hope solaris still works...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r7832 r7844  
    265265VBoxSVCM_SOURCES        = \
    266266        linux/server_module.cpp
     267ifdef VBOX_WITH_ORIGIN
     268VBoxSVCM_LDFLAGS        = '$(VBOX_GCC_RPATH_OPT)$$(VBOX_ORIGIN)/..'
     269endif
    267270VBoxSVCM_LDFLAGS.darwin = \
    268271        -install_name @executable_path/components/VBoxSVCM.dylib \
    269272        -exported_symbols_list $(PATH_TARGET)/VBoxSVCM.def
    270 VBoxSVCM_LDFLAGS.solaris = '-R$$(VBOX_ORIGIN)/..'
    271273ifeq ($(BUILD_TARGET),darwin)
    272274VBoxSVCM_ORDERDEPS     += $(PATH_TARGET)/VBoxSVCM.def
     
    332334        $(PATH_SUB_CURRENT)
    333335
     336ifdef VBOX_WITH_ORIGIN
     337VBoxC_LDFLAGS        = '$(VBOX_GCC_RPATH_OPT)$$(VBOX_ORIGIN)/..'
     338endif
    334339VBoxC_LDFLAGS.darwin = \
    335340        -install_name @executable_path/components/VBoxSVCM.dylib \
    336341        -exported_symbols_list $(PATH_TARGET)/VBoxC.def
    337 VBoxC_LDFLAGS.solaris = '-R$$(VBOX_ORIGIN)/..'
    338342ifdef VBOX_USE_VCC80
    339343 VBoxC_LDFLAGS.win = /MANIFEST
     
    419423        xml/Settings.cpp
    420424VBoxSettings_LDFLAGS.darwin = -install_name @executable_path/$(notdir $(LIB_SETTINGS)) -Wl,-x # no debug info please.
    421 VBoxSettings_LDFLAGS.solaris = '-R$$(VBOX_ORIGIN)'
    422425
    423426
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette