Python: fix configuration options for Python 3.0 - 3.6

This commit is contained in:
2019-09-05 16:58:19 +02:00
parent ad48adf912
commit 28888d2a6f

View File

@@ -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}"