- Timestamp:
- Apr 7, 2021 1:42:48 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r88338 r88400 3105 3105 # NASM (--allow-64-bit: 2.12rc2) 3106 3106 $(QUIET)$(APPEND) '$@' 'VBOX_NASM_allow_64_bit ?= $(call VBOX_NASM_CHECK,--allow-64-bit,)' 3107 ifeq ($(KBUILD_HOST),linux)3108 $(QUIET)$(APPEND) '$@' 'VBOX_LD_HAS_LIBXCB ?= $(shell /sbin/ldconfig -p|grep -q "\<libxcb\.so\.1\>" && echo "1")'3109 endif3110 3107 if1of ($(KBUILD_TARGET), linux) 3111 3108 ifeq ($(KBUILD_TARGET),$(KBUILD_HOST)) … … 6995 6992 if1of ($(KBUILD_TARGET), linux freebsd netbsd openbsd solaris) 6996 6993 VBOX_QT_MOD += Qt5DBus Qt5XcbQpa Qt5X11Extras 6997 # legacy libraries required to be installed on EL56998 VBOX_QT_LEGACY_LIBS = $(if $(VBOX_LD_HAS_LIBXCB),,libxcb.so.1 libX11.so.6 libX11-xcb.so.1)6999 6994 VBOX_QT_PLUGINS = \ 7000 6995 plugins/platforms/libqxcb.so \ … … 7166 7161 TEMPLATE_VBOXQTGUIEXE_LIBPATH += \ 7167 7162 $(VBOX_LIBPATH_X11) 7168 if defined(VBOX_WITH_ORACLE_QT) && !defined(VBOX_LD_HAS_LIBXCB)7169 TEMPLATE_VBOXQTGUIEXE_LIBPATH += $(PATH_SDK_QT5_LIB)/legacy7170 TEMPLATE_VBOXQTGUIEXE_INCS += $(PATH_SDK_QT5_INC)/legacy7171 endif7172 7163 else ifeq ($(KBUILD_TARGET),darwin) 7173 7164 TEMPLATE_VBOXQTGUIEXE_SDKS.darwin += $(VBOX_DARWIN_DEF_SDK_SDKS) -
trunk/Makefile.kmk
r88349 r88400 270 270 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \ 271 271 $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib)) 272 ifneq ($(KBUILD_TARGET),solaris)273 qt5-bin_SOURCES += \274 $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$(wildcard $(VBOX_PATH_QT_LIB)/legacy/$(lib).*.*)=>legacy/$(lib))275 endif # solaris276 272 else # !VBOX_WITH_HARDENING 277 273 # For non-hardened builds we need to remove the RUNPATH. This stuff is … … 286 282 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \ 287 283 $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib)) 288 ifneq ($(KBUILD_TARGET),solaris)289 qt5-bin_SOURCES += \290 $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$(qt5-bin_0_OUTDIR)/$(lib)=>legacy/$(lib))291 endif # solaris292 284 293 285 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \ … … 316 308 $(QUIET)chrpath --replace "\$$ORIGIN/../../" $@ 317 309 endif # solaris linux 318 319 $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$$(qt5-bin_0_OUTDIR)/$(lib)): \320 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/legacy/% | $$(qt5-bin_0_OUTDIR)/321 $(call MSG_INST_FILE,$^,$@)322 $(QUIET)$(CP) $^ $@323 $(QUIET)chrpath --delete $@324 310 325 311 endif # !VBOX_WITH_HARDENING
Note:
See TracChangeset
for help on using the changeset viewer.