summaryrefslogtreecommitdiff
path: root/package/libdnet/libdnet.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-21 00:01:34 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-06-21 00:01:34 +0200
commit21438ec500ca0962fa0f2572a6212786674d5e32 (patch)
tree980f63ece256639def497b0e97f29e2d12935148 /package/libdnet/libdnet.mk
parent377b2785c136e7439ac4f4a6e4509bc5c9fe3015 (diff)
libdnet: fix python module build
Ensure the correct compiler/linker flags are used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libdnet/libdnet.mk')
-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 649db3128..ae4c9ff16 100644
--- a/package/libdnet/libdnet.mk
+++ b/package/libdnet/libdnet.mk
@@ -17,7 +17,7 @@ LIBDNET_CONF_OPT = \
ifneq ($(BR2_PACKAGE_LIBDNET_PYTHON),)
LIBDNET_DEPENDENCIES = python
LIBDNET_CONF_OPT += --with-python
-LIBDNET_MAKE_OPT = PYTHON=python$(PYTHON_VERSION_MAJOR) PYINCDIR=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
+LIBDNET_MAKE_OPT = PYINCDIR=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) PYLIBDIR=$(STAGING_DIR)/usr/lib
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