summaryrefslogtreecommitdiff
path: root/config/x86_64-linux-musl/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86_64-linux-musl/config.mk')
-rw-r--r--config/x86_64-linux-musl/config.mk70
1 files changed, 70 insertions, 0 deletions
diff --git a/config/x86_64-linux-musl/config.mk b/config/x86_64-linux-musl/config.mk
index 35e6785..1008d8b 100644
--- a/config/x86_64-linux-musl/config.mk
+++ b/config/x86_64-linux-musl/config.mk
@@ -15,6 +15,12 @@ LDFLAGS_EXPAT = -lexpat
CFLAGS_DBM = -DHAVE_NDBM_H
LDFLAGS_DBM = -lgdbm_compat
+LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
+LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES)
+LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE)
+LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT)
+LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM)
+
DYNLOAD_SRCS = \
Python/dynload_shlib.c \
@@ -96,3 +102,67 @@ PYEXT_SUBSET_SHARED = \
$(PYEXT_TIME_SHARED) \
$(PYEXT_UNICODEDATA_SHARED) \
$(PYEXT_ZLIB_SHARED) \
+
+PYEXT_SUBSET_STATIC = \
+ $(PYEXT_ARRAY_STATIC) \
+ $(PYEXT_AUDIOOP_STATIC) \
+ $(PYEXT_BINASCII_STATIC) \
+ $(PYEXT_BISECT_STATIC) \
+ $(PYEXT_BZ2_STATIC) \
+ $(PYEXT_CMATH_STATIC) \
+ $(PYEXT_CODECS_CN_STATIC) \
+ $(PYEXT_CODECS_HK_STATIC) \
+ $(PYEXT_CODECS_ISO2022_STATIC) \
+ $(PYEXT_CODECS_JP_STATIC) \
+ $(PYEXT_CODECS_KR_STATIC) \
+ $(PYEXT_CODECS_TW_STATIC) \
+ $(PYEXT_COLLECTIONS_STATIC) \
+ $(PYEXT_CPICKLE_STATIC) \
+ $(PYEXT_CRYPT_STATIC) \
+ $(PYEXT_CSTRINGIO_STATIC) \
+ $(PYEXT_CSV_STATIC) \
+ $(PYEXT_CTYPES_STATIC) \
+ $(PYEXT_CTYPES_TEST_STATIC) \
+ $(PYEXT_CURSES_PANEL_STATIC) \
+ $(PYEXT_CURSES_STATIC) \
+ $(PYEXT_DATETIME_STATIC) \
+ $(PYEXT_DBM_STATIC) \
+ $(PYEXT_ELEMENTTREE_STATIC) \
+ $(PYEXT_FCNTL_STATIC) \
+ $(PYEXT_FUNCTOOLS_STATIC) \
+ $(PYEXT_FUTURE_BUILTINS_STATIC) \
+ $(PYEXT_GDBM_STATIC) \
+ $(PYEXT_GRP_STATIC) \
+ $(PYEXT_HASHLIB_STATIC) \
+ $(PYEXT_HEAPQ_STATIC) \
+ $(PYEXT_HOTSHOT_STATIC) \
+ $(PYEXT_IO_STATIC) \
+ $(PYEXT_ITERTOOLS_STATIC) \
+ $(PYEXT_JSON_STATIC) \
+ $(PYEXT_LINUXAUDIODEV_STATIC) \
+ $(PYEXT_LOCALE_STATIC) \
+ $(PYEXT_LSPROF_STATIC) \
+ $(PYEXT_MATH_STATIC) \
+ $(PYEXT_MMAP_STATIC) \
+ $(PYEXT_MULTIBYTECODEC_STATIC) \
+ $(PYEXT_MULTIPROCESSING_STATIC) \
+ $(PYEXT_OPERATOR_STATIC) \
+ $(PYEXT_OSSAUDIODEV_STATIC) \
+ $(PYEXT_PARSER_STATIC) \
+ $(PYEXT_PYEXPAT_STATIC) \
+ $(PYEXT_RANDOM_STATIC) \
+ $(PYEXT_READLINE_STATIC) \
+ $(PYEXT_RESOURCE_STATIC) \
+ $(PYEXT_SELECT_STATIC) \
+ $(PYEXT_SOCKET_STATIC) \
+ $(PYEXT_SPWD_STATIC) \
+ $(PYEXT_SQLITE3_STATIC) \
+ $(PYEXT_SSL_STATIC) \
+ $(PYEXT_STROP_STATIC) \
+ $(PYEXT_STRUCT_STATIC) \
+ $(PYEXT_SYSLOG_STATIC) \
+ $(PYEXT_TERMIOS_STATIC) \
+ $(PYEXT_TESTCAPI_STATIC) \
+ $(PYEXT_TIME_STATIC) \
+ $(PYEXT_UNICODEDATA_STATIC) \
+ $(PYEXT_ZLIB_STATIC) \