From 860c315d8509c717a5036a554f21e215850faa9d Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 2 Dec 2018 16:22:33 -0500 Subject: project, config/x86_64-linux-musl: refactor, define extension subsets. --- project/extras.mk | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'project') 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) -- cgit v1.2.3