Changeset 86647 in vbox for trunk/src/libs
- Timestamp:
- Oct 20, 2020 1:04:32 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141023
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/Makefile.kmk
r86646 r86647 206 206 # Unversioned Python 2.x. 207 207 # 208 if defined(VBOX_PYTHON27_INC) || defined(VBOX_PYTHON26_INC) 208 # Note! No python LIBS here as we don't want to depend on any specific python 209 # version in a generic extension module. 210 # 211 if (defined(VBOX_PYTHON27_INC) || defined(VBOX_PYTHON26_INC)) && "$(KBUILD_TARGET)" != "darwin" 212 209 213 DLLS += VBoxPython2 210 214 VBoxPython2_EXTENDS = VBoxPythonBase … … 218 222 if defined(VBOX_PYTHON26_INC) 219 223 VBoxPython2_INCS = $(VBOX_PYTHON26_INC) 220 ifn1of ($(KBUILD_TARGET), linux)221 VBoxPython2_LIBS = $(VBOX_PYTHON26_LIB)222 endif223 224 else 224 225 VBoxPython2_INCS = $(VBOX_PYTHON27_INC) 225 ifn1of ($(KBUILD_TARGET), linux) 226 VBoxPython2_LIBS = $(VBOX_PYTHON27_LIB) 227 endif 228 endif 229 endif 230 231 if defined(VBOX_WITH_32_ON_64_MAIN_API) && (defined(VBOX_PYTHON27_LIB_X86) || defined(VBOX_PYTHON26_INC_X86)) 226 endif 227 228 if defined(VBOX_WITH_32_ON_64_MAIN_API) && (defined(VBOX_PYTHON26LIB_X86) || defined(VBOX_PYTHON27LIB_X86)) 232 229 DLLS += VBoxPython2_x86 233 230 VBoxPython2_x86_EXTENDS = VBoxPythonBase_x86 234 231 VBoxPython2_x86_EXTENDS_BY = appending 235 VBoxPython2_x86_DEFS = VBOX_PYXPCOM_MAJOR_VERSIONED $(VBoxPythonBase_x86_DEFS)236 ifdef KMK_WITH_VERSION_COMPARE232 VBoxPython2_x86_DEFS = VBOX_PYXPCOM_MAJOR_VERSIONED 233 ifdef KMK_WITH_VERSION_COMPARE 237 234 VBoxPython2_x86_TEMPLATE = XPCOM$(if-expr "$(KBUILD_TARGET)" == "darwin" && "$(VBOX_DEF_MACOSX_VERSION_MIN)" vle "10.7",OSX107,-x86) 238 else235 else 239 236 VBoxPython2_x86_TEMPLATE = XPCOM$(if-expr "$(KBUILD_TARGET)" == "darwin" && "$(VBOX_DEF_MACOSX_VERSION_MIN)" <= "10.7" && "$(length-var VBOX_DEF_MACOSX_VERSION_MIN)" == "4",OSX107,-x86) 240 endif241 if defined(VBOX_PYTHON26LIB_X86)237 endif 238 if defined(VBOX_PYTHON26LIB_X86) 242 239 VBoxPython2_x86_INCS = $(VBOX_PYTHON26_INC) 243 ifn1of ($(KBUILD_TARGET), linux)244 VBoxPython2_x86_ LIBS = $(VBOX_PYTHON26_LIB_X86)240 else 241 VBoxPython2_x86_INCS = $(VBOX_PYTHON27_INC) 245 242 endif 246 else 247 VBoxPython2_x86_INCS = $(VBOX_PYTHON27_INC) 248 ifn1of ($(KBUILD_TARGET), linux) 249 VBoxPython2_x86_LIBS = $(VBOX_PYTHON27_LIB_X86) 250 endif 251 endif 252 endif 243 endif 244 245 endif # (defined(VBOX_PYTHON27_INC) || defined(VBOX_PYTHON26_INC)) && "$(KBUILD_TARGET)" != "darwin" 253 246 254 247
Note:
See TracChangeset
for help on using the changeset viewer.