libxcb: use correct python variable
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jan 2011 08:16:09 +0000 (09:16 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jan 2011 08:16:09 +0000 (09:16 +0100)
Directory is /usr/lib/python$(PYTHON_VERSION_MAJOR).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/libxcb/libxcb.mk

index c9835ed5115c8cbc08109923f2c110954efee634..5b6a7ca74b0de39bc43f08f1f352591fc4458805 100644 (file)
@@ -16,7 +16,7 @@ LIBXCB_DEPENDENCIES = \
        host-xcb-proto host-python
 LIBXCB_CONF_ENV = STAGING_DIR="$(STAGING_DIR)"
 LIBXCB_MAKE_OPT = XCBPROTO_XCBINCLUDEDIR=$(STAGING_DIR)/usr/share/xcb \
-       XCBPROTO_XCBPYTHONDIR=$(HOST_DIR)/usr/lib/python$(HOST_PYTHON_VERSION)/site-packages
+       XCBPROTO_XCBPYTHONDIR=$(HOST_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
 
 HOST_LIBXCB_DEPENDENCIES = \
        host-libxslt host-pthread-stubs host-xcb-proto host-xlib_libXdmcp \