From 1fbb0e1e49ae6fc44e51d66fc2c239b9e0ee2423 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 18 Dec 2018 04:07:08 -0500 Subject: project: added rules and definitions for building a static python utility. --- project/extras.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'project') 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)\" -- cgit v1.2.3