VirtualBox

Changeset 76024 in vbox


Ignore:
Timestamp:
Dec 6, 2018 7:31:59 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,Makefile.kmk: Adjustments for targeting old OS X versions. bugref:4802

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r76010 r76024  
    22212221 endif
    22222222
     2223# Where to search for SDKs.
     2224VBOX_PATH_MACOSX_SDK_ROOT_DIRS ?= \
     2225        $(VBOX_PATH_MACOSX_SDK_ROOT) \
     2226        $(KBUILD_DEVTOOLS)/darwin.x86/SDKs/ \
     2227        $(KBUILD_DEVTOOLS)/darwin.amd64/SDKs/ \
     2228        $(KBUILD_DEVTOOLS)/darwin.x86/xcode/v4.1/SDKs \
     2229        $(KBUILD_DEVTOOLS)/darwin.x86/xcode/v3.2.6/SDKs
     2230
    22232231 # Figure the default SDK location and obsolete linker tricks.
    22242232 ifeq ($(VBOX_DEF_MACOSX_VERSION_MIN),10.4)
     
    22312239   endif
    22322240  endif
    2233   VBOX_PATH_MACOSX_SDK ?= $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN)u.sdk
     2241  ifndef VBOX_PATH_MACOSX_SDK
     2242VBOX_PATH_MACOSX_SDK := $(firstword $(wildcard $(addsuffix /MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN)u.sdk, $(VBOX_PATH_MACOSX_SDK_ROOT_DIRS))) \
     2243        $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN)u.sdk )
     2244  endif
    22342245 else
    2235   VBOX_PATH_MACOSX_SDK ?= $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN).sdk
     2246  ifndef VBOX_PATH_MACOSX_SDK
     2247VBOX_PATH_MACOSX_SDK := $(firstword $(wildcard $(addsuffix /MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN).sdk, $(VBOX_PATH_MACOSX_SDK_ROOT_DIRS))) \
     2248        $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN).sdk )
     2249  endif
    22362250 endif
    22372251
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