diff options
author | midipix <writeonce@midipix.org> | 2018-11-24 22:50:05 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-24 23:54:07 -0500 |
commit | 91d17108c93aaf497ded38e30892913b61ae1021 (patch) | |
tree | 881720f806f510ae4ec2941c3db8b8f205731833 /project | |
parent | 8436429c101da92d9c10d01e0c03a5af6b62bc8f (diff) | |
download | sbpython2-91d17108c93aaf497ded38e30892913b61ae1021.tar.bz2 sbpython2-91d17108c93aaf497ded38e30892913b61ae1021.tar.xz |
project: python's extension modules: incorporate into the main build.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 8 |
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 |