summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-02 16:22:33 -0500
committermidipix <writeonce@midipix.org>2018-12-02 19:51:46 -0500
commit860c315d8509c717a5036a554f21e215850faa9d (patch)
tree3e10cf9e9ccd9fbdcc8b72ac5adc866347aff281 /project
parent808e89f0e460cc668a28342db79e29efa50b24e8 (diff)
downloadsbpython2-860c315d8509c717a5036a554f21e215850faa9d.tar.bz2
sbpython2-860c315d8509c717a5036a554f21e215850faa9d.tar.xz
project, config/x86_64-linux-musl: refactor, define extension subsets.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/project/extras.mk b/project/extras.mk
index f8bfa4b..2db9e76 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -14,7 +14,7 @@ CFLAGS_CONFIG += -DPYTHONPATH=\"$(PYTHON_PATH)\"
ifeq ($(ALL_STATIC),yes)
CFLAGS_STATIC += -DPY_ALL_STATIC
- LDFLAGS_STATIC += $(PYEXT_SUBSET_STATIC)
+ LDFLAGS_STATIC += $(PYEXT_STATIC)
LDFLAGS_STATIC += $(LDFLAGS_PYEXT_STATIC)
@@ -92,8 +92,5 @@ include $(PROJECT_DIR)/project/pyexts.mk
# shared extension modules: desired subset
-ifeq ($(ALL_STATIC),yes)
-all: $(PYEXT_SUBSET_STATIC)
-else
-all: $(PYEXT_SUBSET_SHARED)
-endif
+$(SHARED_APP): $(PYEXT_SHARED)
+$(STATIC_APP): $(PYEXT_STATIC)