VirtualBox

Changeset 99005 in vbox for trunk


Ignore:
Timestamp:
Mar 16, 2023 12:46:15 PM (21 months ago)
Author:
vboxsync
Message:

xpcom,Installer/darwin: Build and ship the version agnostic VBoxPython3 module on macOS, bugref:9790 [another try, mac2 has python 3.7 instead of 3.8]

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r99004 r99005  
    479479        MacOS/VBoxPython2_7.so
    480480endif
    481 if defined(VBOX_WITH_PYTHON) && !defined(VBOX_WITHOUT_PYTHON_LIMITED_API) && $(KBUILD_TARGET_ARCH) == "arm64"
     481if    defined(VBOX_WITH_PYTHON) \
     482   && !defined(VBOX_WITHOUT_PYTHON_LIMITED_API) \
     483   && exists "$(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/VBoxPython3.so"
    482484 VBOX_DI_VBAPP_DYLIBS += \
    483485        MacOS/VBoxPython3.so
  • trunk/src/libs/xpcom18a4/python/Makefile.kmk

    r99004 r99005  
    7979 # For now we will only provide the module for 3.8 and the version agnostic variant using the limited API.
    8080 #
    81  if1of ($(KBUILD_TARGET_ARCH),arm64) # @todo Doesn't work on the mac2 build boxes
     81 if exists "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8"
    8282  VBOX_PYTHON38_INC = /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/Headers
    8383  VBOX_PYTHON38_LIB = /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/libpython3.8.dylib
     84 endif
     85 if exists "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7"
     86  VBOX_PYTHON37_INC = /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/Headers
     87  VBOX_PYTHON37_LIB = /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/libpython3.8.dylib
    8488 endif
    8589
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