summaryrefslogtreecommitdiff
path: root/python3/ExternalProject_python3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python3/ExternalProject_python3.mk')
-rw-r--r--python3/ExternalProject_python3.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk
index 5ffa1a90dcd3..dc8e0ffe041d 100644
--- a/python3/ExternalProject_python3.mk
+++ b/python3/ExternalProject_python3.mk
@@ -57,13 +57,15 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
cd $(EXTERNAL_WORKDIR) \
&& ./configure \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
- --enable-shared \
- --with-system-expat \
+ $(if $(filter YES,$(SYSTEM_EXPAT)),--with-system-expat) \
$(if $(strip $(VALGRIND_CFLAGS)),--with-valgrind) \
--prefix=/$(if $(filter MACOSX,$(OS)),@__________________________________________________OOO,python-inst) \
$(if $(filter AIX,$(OS)),--disable-ipv6 --with-threads CFLAGS="-g0") \
$(if $(filter WNT-GCC,$(OS)-$(COM)),--with-threads ac_cv_printf_zd_format=no) \
- $(if $(filter MACOSX,$(OS)),--enable-universalsdk=$(MACOSX_SDK_PATH) --with-universal-archs=32-bit --enable-frameworks=/SomeDirThatIsNotLibraryOrSystemOrFrameworks --with-framework-name=OOoPython) \
+ $(if $(filter MACOSX,$(OS)), \
+ --enable-universalsdk=$(MACOSX_SDK_PATH) --with-universal-archs=32-bit --enable-framework=/SomeDirThatIsNotLibraryOrSystemOrFrameworks --with-framework-name=LibreOfficePython, \
+ --enable-shared \
+ ) \
CC="$(strip $(CC) \
$(if $(filter YES,$(SYSTEM_OPENSSL)),, -I$(OUTDIR)/inc/external) \
$(if $(filter YES,$(SYSTEM_EXPAT)),, -I$(OUTDIR)/inc/external/expat) \