VirtualBox

Changeset 20579 in vbox for trunk/src/libs


Ignore:
Timestamp:
Jun 15, 2009 9:16:22 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48588
Message:

Python: attempt to allow .run installer work with multiple Python versions on Linux, cleanup

File:
1 edited

Legend:

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

    r19853 r20579  
    13361336ifeq ($(KBUILD_TARGET),win)
    13371337 VBoxXPCOMIPCD_SOURCES += \
    1338         ipc/ipcd/daemon/src/ipcdWin.cpp
     1338        ipc/ipcd/daemon/src/ipcdWin.cpp
    13391339else
    13401340 VBoxXPCOMIPCD_SOURCES += \
    1341         ipc/ipcd/daemon/src/ipcdUnix.cpp
     1341        ipc/ipcd/daemon/src/ipcdUnix.cpp
    13421342endif
    13431343
     
    13641364   else
    13651365    VBOX_PATH_PYTHON_INC := $(patsubst %/Python.h,%, $(lastword $(sort $(wildcard \
    1366         /usr/include/python2.*/Python.h \
    1367         /usr/local/include/python2.*/Python.h \
    1368         ))))
     1366        /usr/include/python2.*/Python.h \
     1367        /usr/local/include/python2.*/Python.h \
     1368        ))))
    13691369   endif
    13701370   ifeq ($(VBOX_PATH_PYTHON_INC),)
     
    13761376   VBOX_TMP := $(if $(eq $(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),solaris.amd64),64/,)
    13771377   VBOX_LIB_PYTHON := $(firstword $(wildcard \
    1378         /usr/lib/$(VBOX_TMP)libpython$(VBOX_PYTHON_VER)$(SUFF_DLL) \
    1379         /usr/local/lib/$(VBOX_TMP)libpython$(VBOX_PYTHON_VER)$(SUFF_DLL) \
    1380         /usr/lib/$(VBOX_TMP)libpython2$(SUFF_DLL) \
    1381         /usr/local/lib/$(VBOX_TMP)libpython2$(SUFF_DLL) \
    1382         /usr/lib/$(VBOX_TMP)libpython$(SUFF_DLL) \
    1383         /usr/local/lib/$(VBOX_TMP)libpython$(SUFF_DLL) \
    1384         ))
     1378        /usr/lib/$(VBOX_TMP)libpython$(VBOX_PYTHON_VER)$(SUFF_DLL) \
     1379        /usr/local/lib/$(VBOX_TMP)libpython$(VBOX_PYTHON_VER)$(SUFF_DLL) \
     1380        /usr/lib/$(VBOX_TMP)libpython2$(SUFF_DLL) \
     1381        /usr/local/lib/$(VBOX_TMP)libpython2$(SUFF_DLL) \
     1382        /usr/lib/$(VBOX_TMP)libpython$(SUFF_DLL) \
     1383        /usr/local/lib/$(VBOX_TMP)libpython$(SUFF_DLL) \
     1384        ))
    13851385   ifeq ($(VBOX_LIB_PYTHON),)
    13861386    $(warning Unable to determine the python library (VBOX_LIB_PYTHON).)
     
    13921392 endif
    13931393 INSTALLS += VBoxPython-inst-py-xpcom
     1394endif
     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
     1399if "$(KBUILD_TARGET)" == "linux"
     1400 VBOX_LIB_PYTHON=
    13941401endif
    13951402
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