summaryrefslogtreecommitdiff
path: root/package/libdnet
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 20:15:35 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 20:15:35 +0000
commit9e15c00a04221a7c43cdcd04d1418507a0bab158 (patch)
tree086cf01dc6ec0b7f173a6499950961f87946769e /package/libdnet
parent75a291159d2c660f68b0179f0f186b33933496c0 (diff)
Change name from PYTHON_VERSION_SHORT to PYTHON_VERSION_MAJOR
Diffstat (limited to 'package/libdnet')
-rw-r--r--package/libdnet/libdnet.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libdnet/libdnet.mk b/package/libdnet/libdnet.mk
index 83b904952..118fabaa9 100644
--- a/package/libdnet/libdnet.mk
+++ b/package/libdnet/libdnet.mk
@@ -16,7 +16,7 @@ LIBDNET_DEPENDENCIES = uclibc
ifneq ($(BR2_PACKAGE_LIBDNET_PYTHON),)
LIBDNET_DEPENDENCIES += python
LIBDNET_CONF_OPT += --with-python
-LIBDNET_MAKE_OPT = PYTHON=python$(PYTHON_VERSION_SHORT) PYINCDIR=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_SHORT)
+LIBDNET_MAKE_OPT = PYTHON=python$(PYTHON_VERSION_MAJOR) PYINCDIR=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
LIBDNET_INSTALL_TARGET_OPT = $(LIBDNET_MAKE_OPT) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec
LIBDNET_INSTALL_STAGING_OPT = $(LIBDNET_MAKE_OPT) DESTDIR=$(STAGING_DIR) install
endif