VirtualBox

Ignore:
Timestamp:
May 9, 2023 9:31:21 AM (19 months ago)
Author:
vboxsync
Message:

NetworkServices,VirtualBox: Omit -rpath on macOS when running parfait, as parfait produces an ../MacOS can't be accessed error and we don't want to run the output from the parfait builds anyway, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/IntNetSwitch/Makefile.kmk

    r98417 r99692  
    4646        SrvIntNetWrapper.cpp
    4747VBoxIntNetSwitch_LIBS = $(LIB_RUNTIME)
    48 VBoxIntNetSwitch_LDFLAGS.darwin = \
    49         -rpath @executable_path/../../../../MacOS
     48
     49#
     50# Parfait fails with an error that ../../../../MacOS can't be accessed while standard clang has no problem with it.
     51# As we don't want to run the output just omit the -rpath arguments to make it build
     52#
     53ifndef VBOX_WITH_PARFAIT
     54 VBoxIntNetSwitch_LDFLAGS.darwin = \
     55        -rpath @executable_path/../../../../MacOS
     56endif
    5057
    5158ifeq ($(KBUILD_TARGET),darwin)
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