summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-18 04:07:08 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:42 -0500
commit1fbb0e1e49ae6fc44e51d66fc2c239b9e0ee2423 (patch)
treef674fb70b387f6b6d282457101fe3f97c12f52ae /project
parent9ef55b152c6b36e21a969b16477586a11eac87c5 (diff)
downloadsbpython3-1fbb0e1e49ae6fc44e51d66fc2c239b9e0ee2423.tar.bz2
sbpython3-1fbb0e1e49ae6fc44e51d66fc2c239b9e0ee2423.tar.xz
project: added rules and definitions for building a static python utility.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 0a48a8a..7ad2cc8 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -19,6 +19,17 @@ LDFLAGS_CONFIG += -Wl,-rpath -Wl,$(LIBDIR)
ifeq ($(ALL_STATIC),yes)
CFLAGS_STATIC += -DPY_ALL_STATIC
+
+ LDFLAGS_STATIC += $(PYEXT_STATIC)
+
+ LDFLAGS_STATIC += $(LDFLAGS_PYEXT_STATIC)
+
+ LDFLAGS_STATIC += $(LDFLAGS_NCURSES_STATIC)
+ LDFLAGS_STATIC += $(LDFLAGS_SQLITE_STATIC)
+ LDFLAGS_STATIC += $(LDFLAGS_EXPAT_STATIC)
+ LDFLAGS_STATIC += $(LDFLAGS_DBM_STATIC)
+
+ LDFLAGS_STATIC += $(LDFLAGS_PYEXT_STATIC)
else
COMMON_SRCS += $(DYNLOAD_SRCS)
CFLAGS_CONFIG += -DHAVE_DYNAMIC_LOADING -DSOABI=\"$(PYTHON_SOABI)\"