File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ ifdef PYBUILD_MUSL
41
41
NEED_MUSL := 1
42
42
endif
43
43
44
+ ifdef PYBUILD_LIBRESSL
45
+ NEED_LIBRESSL := 1
46
+ NEED_OPENSSL :=
47
+ else
48
+ NEED_OPENSSL := 1
49
+ NEED_LIBRESSL :=
50
+ endif
51
+
44
52
ifdef PYBUILD_DEBUG
45
53
DEFAULT_EXTRA := -debug
46
54
else
@@ -218,7 +226,9 @@ PYTHON_DEPENDS := \
218
226
$(if $(NEED_GDBM ) ,$(OUTDIR ) /gdbm-$(GDBM_VERSION ) -$(PLATFORM ) .tar) \
219
227
$(OUTDIR ) /libedit-$(LIBEDIT_VERSION ) -$(PLATFORM ) .tar \
220
228
$(OUTDIR ) /libffi-$(LIBFFI_VERSION ) -$(PLATFORM ) .tar \
229
+ $(if $(NEED_LIBRESSL ) ,$(OUTDIR ) /libressl-$(LIBRESSL_VERSION ) -$(PLATFORM ) .tar) \
221
230
$(OUTDIR ) /ncurses-$(NCURSES_VERSION ) -$(PLATFORM ) .tar \
231
+ $(if $(NEED_OPENSSL ) ,$(OUTDIR ) /openssl-$(OPENSSL_VERSION ) -$(PLATFORM ) .tar) \
222
232
$(if $(NEED_READLINE ) ,$(OUTDIR ) /readline-$(READLINE_VERSION ) -$(PLATFORM ) .tar) \
223
233
$(OUTDIR ) /sqlite-$(SQLITE_VERSION ) -$(PLATFORM ) .tar \
224
234
$(if $(NEED_TIX ) ,$(OUTDIR ) /tix-$(TIX_VERSION ) -$(PLATFORM ) .tar) \
@@ -228,12 +238,6 @@ PYTHON_DEPENDS := \
228
238
$(HERE ) /static-modules.$(BASE_PLATFORM ) \
229
239
$(NULL )
230
240
231
- ifdef PYBUILD_LIBRESSL
232
- PYTHON_DEPENDS += $(OUTDIR ) /libressl-$(LIBRESSL_VERSION ) -$(PLATFORM ) .tar
233
- else
234
- PYTHON_DEPENDS += $(OUTDIR ) /openssl-$(OPENSSL_VERSION ) -$(PLATFORM ) .tar
235
- endif
236
-
237
241
$(OUTDIR ) /cpython-$(PYBUILD_PYTHON_VERSION ) -$(PLATFORM ) .tar : $(PYTHON_DEP_DEPENDS ) $(HERE ) /build-cpython.sh $(PYTHON_DEPENDS )
238
242
$(BUILD ) --platform $(PLATFORM ) cpython
239
243
You can’t perform that action at this time.
0 commit comments