summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 93d1edc..815471f 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -71,3 +71,11 @@ Modules/_sqlite/%.o: $(SOURCE_DIR)/Modules/_sqlite/%.c $(ALL_HEADERS) host.tag
# build rules for python's extension modules
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