From 28888d2a6fa860c8fecdfd850dfaf48213cdf9a8 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 5 Sep 2019 16:58:19 +0200 Subject: [PATCH] Python: fix configuration options for Python 3.0 - 3.6 --- Programming/Python/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Programming/Python/build b/Programming/Python/build index 5e3d3af..e6afdd9 100755 --- a/Programming/Python/build +++ b/Programming/Python/build @@ -10,6 +10,10 @@ if (( V_MAJOR == 2 )); then pbuild::add_configure_args "LDFLAGS=-L${OPENSSL_LIBRARY_DIR}" pbuild::add_configure_args "CPPFLAGS=-fPIC -I${OPENSSL_INCLUDE_DIR} -I${OPENSSL_INCLUDE_DIR}/openssl" pbuild::add_configure_args "--enable-shared" +elif (( V_MAJOR == 3 )) && (( V_MINOR <= 6 )); then + pbuild::add_configure_args "LDFLAGS=-L${OPENSSL_LIBRARY_DIR}" + pbuild::add_configure_args "CPPFLAGS=-fPIC -I${OPENSSL_INCLUDE_DIR} -I${OPENSSL_INCLUDE_DIR}/openssl" + pbuild::add_configure_args "--enable-shared" else pbuild::add_configure_args "--enable-shared" pbuild::add_configure_args "--with-openssl=${OPENSSL_DIR}"