VirtualBox

Changeset 60081 in vbox for trunk


Ignore:
Timestamp:
Mar 17, 2016 4:58:03 PM (9 years ago)
Author:
vboxsync
Message:

Qt5: properly change RPATH=$ORIGIN for non-hardened builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r60072 r60081  
    236236    qt5-bin_INST = $(INST_BIN)
    237237    qt5-bin_SOURCES = \
    238      $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod)$(SUFF_DLL).*.*.*)=>lib$(qtmod)$(SUFF_DLL).5) \
    239      $(VBOX_PATH_QT)/plugins/platforms/libqxcb$(SUFF_DLL)=>platforms/libqxcb$(SUFF_DLL)
     238     $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod)$(SUFF_DLL).5.5.1=>lib$(qtmod)$(SUFF_DLL).5) \
     239     $(qt5-bin_0_OUTDIR)/libqxcb$(SUFF_DLL)=>platforms/libqxcb$(SUFF_DLL)
     240
     241$(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod)$(SUFF_DLL).5.5.1): \
     242        $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/% | $$(qt5-bin_0_OUTDIR)
     243        $(call MSG_INST_FILE,$^,$@)
     244        $(QUIET)$(CP) $^ $@
     245        $(if $(VBOX_WITH_HARDENING),,chrpath --replace "\$$ORIGIN" $@)
     246   
     247$$(qt5-bin_0_OUTDIR)/libqxcb$(SUFF_DLL): $(VBOX_PATH_QT)/plugins/platforms/libqxcb$(SUFF_DLL)
     248        $(call MSG_INST_FILE,$^,$@)
     249        $(QUIET)$(CP) $^ $@
     250        $(if $(VBOX_WITH_HARDENING),,chrpath --replace "\$$ORIGIN" $@)
     251
     252$$(qt5-bin_0_OUTDIR):
     253        $(MKDIR) -p $@
     254
    240255   endif # x11
    241256  endif # VBOX_WITH_ORACLE_QT || VBOX_WITH_QT_PAYLOAD
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