summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-06 22:10:37 -0500
committermidipix <writeonce@midipix.org>2018-12-06 22:49:05 -0500
commit7cb4f6c5340a3412328ad1bdc05a9ee6914abd13 (patch)
treeeb880f5b3af3df15ac0c039a489dc533eb291cb1
parent1ff94f00148d255b95c5dff0175f6ac186f56f89 (diff)
downloadsbpython2-7cb4f6c5340a3412328ad1bdc05a9ee6914abd13.tar.bz2
sbpython2-7cb4f6c5340a3412328ad1bdc05a9ee6914abd13.tar.xz
pycompile: properly support systems with separate libc components.
-rw-r--r--project/pycompile.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/pycompile.mk b/project/pycompile.mk
index 6568792..20cc760 100644
--- a/project/pycompile.mk
+++ b/project/pycompile.mk
@@ -23,8 +23,9 @@ PYCOMPILE_CFLAGS += -DPREFIX=\"$(PYCOMPILE_PREFIX)\"
PYCOMPILE_CFLAGS += -DEXEC_PREFIX=\"$(PYCOMPILE_PREFIX)\"
PYCOMPILE_CFLAGS += -DPYTHONPATH=\"$(PYCOMPILE_PATH)\"
-PYCOMPILE_LDFLAGS += -lreadline
+PYCOMPILE_LDFLAGS += -lreadline -lm -lutil -lpthread
PYCOMPILE_LDFLAGS += $(LDFLAGS_NCURSES_STATIC)
+PYCOMPILE_LDFLAGS += -lreadline -lm -lutil -lpthread
$(PYCOMPILE_DIR)/tree.tag:
mkdir -p $(PYCOMPILE_DIR)/bin