summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libxml2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile
index e9115efbb..d6cbb4ffb 100644
--- a/package/libxml2/Makefile
+++ b/package/libxml2/Makefile
@@ -30,7 +30,7 @@ $(eval $(call PKG_template,LIBXML2_PYTHON,libxml2-python,${PKG_VERSION}-${PKG_RE
include $(TOPDIR)/mk/python.mk
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
-ifeq ($(ADK_PACKAGE_LIBXML2_PYTHON),y)
+ifneq ($(ADK_PACKAGE_LIBXML2_PYTHON),)
CONFIGURE_ARGS+= --with-python=${STAGING_DIR}/usr
else
CONFIGURE_ARGS+= --without-python