VirtualBox

Changeset 20936 in vbox for trunk


Ignore:
Timestamp:
Jun 25, 2009 12:58:12 PM (16 years ago)
Author:
vboxsync
Message:

Python: support for building multiple versions

Location:
trunk/src/libs/xpcom18a4
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r20579 r20936  
    13491349# Find the Python headers for the Python<->XPCOM bridge if enabled.
    13501350ifdef VBOX_WITH_PYTHON
     1351ifdef VBOX_WITH_MULTIVERSION_PYTHON
     1352 include $(PATH_SUB_CURRENT)/python/Makefile.kmk
     1353else
    13511354 if "$(KBUILD_TARGET)" == "darwin" && !defined(VBOX_PATH_PYTHON_INC) && !defined(VBOX_LIB_PYTHON)
    13521355  ifndef VBOX_PYTHON_FRAMEWORK
     
    13921395 endif
    13931396 INSTALLS += VBoxPython-inst-py-xpcom
    1394 endif
    1395 
    1396 # Kibd of hack: we don't want to limit VBoxPython.so to single Python version
    1397 # on Linux, where we can avoid putting explicit libpythonX.Y.so dependency
    1398 # to VBoxPython.so
    1399 if "$(KBUILD_TARGET)" == "linux"
    1400  VBOX_LIB_PYTHON=
    1401 endif
     1397
     1398 # Kind of hack: we don't want to limit VBoxPython.so to single Python version
     1399 # on Linux, where we can avoid putting explicit libpythonX.Y.so dependency
     1400 # to VBoxPython.so
     1401 if "$(KBUILD_TARGET)" == "linux"
     1402  VBOX_LIB_PYTHON=
     1403 endif
    14021404
    14031405# Python Client Module - the C++/XPCOM bits.
     
    14751477        python/server/module.py=>server/module.py \
    14761478        python/server/policy.py=>server/policy.py
     1479
     1480endif # !VBOX_WITH_MULTIVERSION_PYTHON
     1481endif # VBOX_WITH_PYTHON
    14771482
    14781483#
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