summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/python/python.mk14
1 files changed, 1 insertions, 13 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index 87237bba0..e0ec9bb6f 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -17,6 +17,7 @@ PYTHON_LICENSE_FILES = LICENSE
# third-party Python modules.
HOST_PYTHON_CONF_OPT += \
+ --enable-static \
--without-cxx-main \
--disable-sqlite3 \
--disable-tk \
@@ -38,19 +39,6 @@ HOST_PYTHON_MAKE_ENV = \
HOST_PYTHON_AUTORECONF = YES
-define HOST_PYTHON_CONFIGURE_CMDS
- (cd $(@D) && rm -rf config.cache; \
- $(HOST_CONFIGURE_OPTS) \
- CFLAGS="$(HOST_CFLAGS)" \
- LDFLAGS="$(HOST_LDFLAGS)" \
- $(HOST_PYTHON_CONF_ENV) \
- ./configure \
- --prefix="$(HOST_DIR)/usr" \
- --sysconfdir="$(HOST_DIR)/etc" \
- $(HOST_PYTHON_CONF_OPT) \
- )
-endef
-
PYTHON_DEPENDENCIES = host-python libffi
HOST_PYTHON_DEPENDENCIES = host-expat host-zlib