File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
114
114
platform: $(BUILDPYTHON) pybuilddir.txt
115
115
$(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
116
116
EOF
117
- else
117
+ elif [ " ${PYTHON_MAJMIN_VERSION} " = " 3.8 " ] ; then
118
118
patch -p1 << "EOF "
119
119
diff --git a/Makefile.pre.in b/Makefile.pre.in
120
120
--- a/Makefile.pre.in
@@ -126,6 +126,21 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
126
126
- $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
127
127
+ $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(SYSLIBS)
128
128
129
+ platform: $(BUILDPYTHON) pybuilddir.txt
130
+ $(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
131
+ EOF
132
+ else
133
+ patch -p1 << "EOF "
134
+ diff --git a/Makefile.pre.in b/Makefile.pre.in
135
+ --- a/Makefile.pre.in
136
+ +++ b/Makefile.pre.in
137
+ @@ -563,7 +563,7 @@ clinic: check-clean-src $(srcdir)/Modules/_blake2/blake2s_impl.c
138
+
139
+ # Build the interpreter
140
+ $(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)
141
+ - $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
142
+ + $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(SYSLIBS)
143
+
129
144
platform: $(BUILDPYTHON) pybuilddir.txt
130
145
$(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
131
146
EOF
You can’t perform that action at this time.
0 commit comments