mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
libdnet: fix python module build
Ensure the correct compiler/linker flags are used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user