VirtualBox

Changeset 11578 in vbox


Ignore:
Timestamp:
Aug 22, 2008 3:47:17 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35186
Message:

enabled python builds if headers found

File:
1 edited

Legend:

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

    r11569 r11578  
    3939
    4040
    41 ifdef VBOX_WITH_PYTHON
     41# Temporary disable Python on Solaris, as there's header conflict
     42ifneq ($(KBUILD_TARGET),solaris)
     43# Find most appropriate Python headers
     44PYTHON_INCS=$(lastword $(sort $(wildcard /usr/include/python2.*/)))
     45endif
     46
     47# build Python<->XPCOM bridge only if Python headers found
     48ifneq ($(PYTHON_INCS),)
    4249# bridge for Python to invoke XPCOM
    4350XPCOM_PYMOD = VBox-xpcom-pymod
    44 # VBox-xpcom-helper
    45 # bridge between host application and VirtualBox library, for embedded case
    46 XPCOM_VBOX_HELPER = VBox-xpcom-helper
    47 # XXX: to be defined in configure
    48 PYTHON_INCS=/usr/include/python2.5
    4951endif
    5052
     
    278280        VBoxXPCOM               \
    279281        VBoxXPCOMIPCC           \
    280         $(XPCOM_PYMOD)          \
    281         $(XPCOM_VBOX_HELPER)
     282        $(XPCOM_PYMOD)         
     283
     284# we put it here, as template it uses depends on VBoxRT,
     285# which may not be built yet
     286OTHERS +=                       \
     287        $(TARGET_VBox-xpcom-helper)
     288
    282289
    283290ifdef VBOX_WITH_TESTCASES
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