summaryrefslogtreecommitdiff
path: root/package/python2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:19:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:20:13 +0100
commit739d512289d14ade82e9fbae7f4371e65989622f (patch)
tree66c17c7e39a041169e08ea7137f072e3b65ab945 /package/python2
parentd47894abb5304cf3bb30b3669e596d648b5277ba (diff)
add three library methods, static, shared or both
Rename the static symbol and add the choice to a more visible place for users.
Diffstat (limited to 'package/python2')
-rw-r--r--package/python2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 8e870e55b..32e8b33d9 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -83,7 +83,7 @@ $(eval $(call PKG_mod_template,PYTHON2_MOD_NCURSES,_curses))
$(eval $(call PKG_mod_template,PYTHON2_MOD_SSL,_ssl))
$(eval $(call PKG_mod_template,PYTHON2_MOD_READLINE,readline))
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
CONFIGURE_ARGS+= --disable-shared
endif
@@ -133,7 +133,7 @@ pre-configure:
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
python2-install:
else
python2-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}