Browse Source

dbus-python: fix build after python upgrade

Point it at host-python, and ensure it gets built in advance.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 14 years ago
parent
commit
51c5af67a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/dbus-python/dbus-python.mk

+ 2 - 2
package/dbus-python/dbus-python.mk

@@ -10,7 +10,7 @@ DBUS_PYTHON_INSTALL_STAGING = YES
 DBUS_PYTHON_INSTALL_TARGET = YES
 
 DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
-		ac_cv_path_PYTHON=$(PYTHON_DIR)/hostpython \
+		ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python \
 		am_cv_python_version=$(PYTHON_VERSION) \
 		am_cv_python_platform=linux2 \
 		am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
@@ -19,6 +19,6 @@ DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
 
 DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
 
-DBUS_PYTHON_DEPENDENCIES = dbus-glib python
+DBUS_PYTHON_DEPENDENCIES = dbus-glib python host-python
 
 $(eval $(call AUTOTARGETS,package,dbus-python))