avahi: fix python path
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Mar 2009 22:39:03 +0000 (22:39 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Mar 2009 22:39:03 +0000 (22:39 -0000)
package/avahi/avahi.mk

index 72e94102a01f22dd1306cb2957cfb1fb6941fd61..856586a835b1480fcc89b186f7d08e2d63cd2566 100644 (file)
@@ -126,8 +126,8 @@ AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
                am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \
                am_cv_python_version=$(PYTHON_VERSION) \
                am_cv_python_platform=linux2 \
-               am_cv_python_pythondir=$(PYTHON_SITE_PACKAGE_DIR) \
-               am_cv_python_pyexecdir=$(PYTHON_SITE_PACKAGE_DIR) \
+               am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
+               am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
                py_cv_mod_socket_=yes
 
 AVAHI_DEPENDENCIES += libpython