summaryrefslogtreecommitdiff
path: root/pkg/python/gen.rc
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/python/gen.rc')
-rw-r--r--pkg/python/gen.rc11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkg/python/gen.rc b/pkg/python/gen.rc
index 93dcc7ab..56d02ea8 100644
--- a/pkg/python/gen.rc
+++ b/pkg/python/gen.rc
@@ -85,7 +85,7 @@ srcs=(\
getargs.c\
getcompiler.c\
getcopyright.c\
- getplatform.c\
+ getplatform.c.o\
getversion.c\
graminit.c\
import.c\
@@ -107,7 +107,7 @@ srcs=(\
random.c\
structmember.c\
symtable.c\
- sysmodule.c\
+ sysmodule.c.o\
traceback.c\
getopt.c\
pystrcmp.c\
@@ -161,6 +161,9 @@ cc Modules/getpath.c ; defs='-D '''^(\
'VPATH='""\
)^'''' with cflags '$cflags '$"defs
+cc Python/getplatform.c ; with cflags '$cflags -D PLATFORM=''"linux"'''
+cc Python/sysmodule.c ; with cflags '$cflags -D ABIFLAGS=''"m"'''
+
phony deps $deps
lib libpython.a -d '$dir'/deps $srcs
@@ -172,8 +175,8 @@ pylibs=`{grep -v '^#' pylibs.txt}
checkstatus
for(f in $pylibs)
file lib/python3.5/$f '$srcdir'/Lib/$f 644
-for(f in _sysconfigdata.py Makefile)
- file lib/python3.5/$f '$dir'/lib/$f 644
+file lib/python3.5/_sysconfigdata_m_linux_.py '$dir'/lib/_sysconfigdata.py 644
+file lib/python3.5/Makefile '$dir'/lib/Makefile 644
dir lib/python3.5/lib-dynload 755
gen_inputs='$dir'/^(Setup modules.awk)