diff options
author | Andres Gomez <agomez@igalia.com> | 2013-04-10 11:20:42 +0300 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-13 10:48:21 +0000 |
commit | 3aa14b5a2f8d815ada281b69e9b8600e759fc5de (patch) | |
tree | e2db7ae7fe7fee97d2a271d18d78ff61062ee400 /python3/ExternalProject_python3.mk | |
parent | ef6f354bad86ac4a2e5a98777f5f9903dba90192 (diff) |
python: honor --disable-openssl
On --disable-openssl, the bundled python library
will not build its OpenSSL module.
Change-Id: I132663c0160f800411f78e49444fe1c5d9ce9ef9
Reviewed-on: https://gerrit.libreoffice.org/3332
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'python3/ExternalProject_python3.mk')
-rw-r--r-- | python3/ExternalProject_python3.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk index 506551b8bbf1..22a952c7a6d0 100644 --- a/python3/ExternalProject_python3.mk +++ b/python3/ExternalProject_python3.mk @@ -79,6 +79,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) : ) \ CC="$(strip $(CC) \ $(if $(filter NO,$(SYSTEM_OPENSSL)),-I$(call gb_UnpackedTarball_get_dir,openssl)/include) \ + $(if $(and $(filter NO,$(SYSTEM_OPENSSL)), $(filter-out YES,$(DISABLE_OPENSSL))),-I$(call gb_UnpackedTarball_get_dir,openssl)/include) \ $(if $(filter NO,$(SYSTEM_EXPAT)),-I$(OUTDIR)/inc/external/expat) \ $(if $(SYSBASE), -I$(SYSBASE)/usr/include) \ )" \ |