VirtualBox

Changeset 13801 in vbox


Ignore:
Timestamp:
Nov 4, 2008 8:24:51 PM (16 years ago)
Author:
vboxsync
Message:

RPATH/ORIGIN for VBoxREM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Makefile.kmk

    r13793 r13801  
    207207 $(REM_MOD)_LDFLAGS.l4      = -T$(L4_LIBDIR)/../main_rel.ld -nostdlib -Wl,--no-undefined
    208208 $(REM_MOD)_LDFLAGS.linux   = $(VBOX_LD_as_needed)
     209 ifneq ($(KBUILD_TARGET),win)
     210  ifdef VBOX_WITH_RUNPATH
     211   $(REM_MOD)_LDFLAGS      += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)'
     212  else ifdef VBOX_WITH_ORIGIN
     213   $(REM_MOD)_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$$(VBOX_ORIGIN)'
     214   $(REM_MOD)_LDFLAGS += -Wl,-z,origin
     215  endif
     216 endif
    209217 $(REM_MOD)_LDFLAGS.os2     = -Zomf
    210218 $(REM_MOD)_LDFLAGS.debug   = -g
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