VirtualBox

Changeset 18893 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Apr 14, 2009 3:20:56 PM (16 years ago)
Author:
vboxsync
Message:

xpcom/VBoxPython: Solaris always use libpython2.4 required for IPS and Solaris 10 hosts.

File:
1 edited

Legend:

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

    r18683 r18893  
    13571357 else  # !darwin || configured darwin
    13581358  ifndef VBOX_PATH_PYTHON_INC
     1359   # As we build Solaris on newer Nevadas (109 currently) we want to use libpython2.4 for IPS compatiblity
     1360   # with older Nevada/OpenSolaris versions upon importing/installing the package. Otherwise we pick the
     1361   # highest libpython2.X available on the build box (2.6 on 109). We thus hardcode it to 2.4 here...
     1362   ifeq ($(KBUILD_TARGET),solaris)
     1363    VBOX_PATH_PYTHON_INC := /usr/include/python2.4
     1364   else
    13591365    VBOX_PATH_PYTHON_INC := $(patsubst %/Python.h,%, $(lastword $(sort $(wildcard \
    13601366        /usr/include/python2.*/Python.h \
    13611367        /usr/local/include/python2.*/Python.h \
    13621368        ))))
     1369   endif
    13631370   ifeq ($(VBOX_PATH_PYTHON_INC),)
    13641371    $(warning Unable to determine the python include directory (VBOX_PATH_PYTHON_INC).)
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