diff options
author | Douglas Mencken <dougmencken@gmail.com> | 2014-02-24 05:02:36 -0500 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-24 11:40:21 +0000 |
commit | d2a48728617e00a91d1ad032bd11ab5bb556d15a (patch) | |
tree | d1882083af78e36367005a457d78cfe1f8810362 /external/nss | |
parent | 407db3d91563baa29350ba28fb1ff7aa861e89e4 (diff) |
nss: continue delivering libsqlite on Mac OS X 10.5
Change-Id: Ibfd47071c73fc5f6c48d268a1f00d7f52762d0f2
Reviewed-on: https://gerrit.libreoffice.org/8204
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/nss')
-rw-r--r-- | external/nss/ExternalPackage_nss.mk | 1 | ||||
-rw-r--r-- | external/nss/ExternalProject_nss.mk | 3 | ||||
-rw-r--r-- | external/nss/README | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/external/nss/ExternalPackage_nss.mk b/external/nss/ExternalPackage_nss.mk index ea686c27aaf2..e7e9e8a08159 100644 --- a/external/nss/ExternalPackage_nss.mk +++ b/external/nss/ExternalPackage_nss.mk @@ -24,6 +24,7 @@ $(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\ dist/out/lib/libsmime3.dylib \ dist/out/lib/libsoftokn3.dylib \ dist/out/lib/libssl3.dylib \ + $(if $(filter 1050,$(MAC_OS_X_VERSION_MIN_REQUIRED)),dist/out/lib/libsqlite3.dylib) \ )) else ifeq ($(OS),WNT) $(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\ diff --git a/external/nss/ExternalProject_nss.mk b/external/nss/ExternalProject_nss.mk index 3a6a2bda1a3c..5d630bec824c 100644 --- a/external/nss/ExternalProject_nss.mk +++ b/external/nss/ExternalProject_nss.mk @@ -60,9 +60,10 @@ $(call gb_ExternalProject_get_state_target,nss,build): $(call gb_ExternalProject $(call gb_ExternalProject_run,build,\ $(if $(filter FREEBSD LINUX MACOSX,$(OS)),$(if $(filter X86_64,$(CPUNAME)),USE_64=1)) \ $(if $(filter MACOSX,$(OS)),MACOS_SDK_DIR=$(MACOSX_SDK_PATH) \ - NSS_USE_SYSTEM_SQLITE=1) \ + $(if $(filter 1050,$(MAC_OS_X_VERSION_MIN_REQUIRED)),,NSS_USE_SYSTEM_SQLITE=1)) \ $(if $(filter SOLARIS,$(OS)),NS_USE_GCC=1) \ $(if $(filter YES,$(CROSS_COMPILING)),\ + $(if $(filter MACOSXPOWERPC,$(OS)$(CPUNAME)),CPU_ARCH=ppc) \ NSINSTALL="$(call gb_ExternalExecutable_get_command,python) $(SRCDIR)/external/nss/nsinstall.py") \ NSDISTMODE=copy \ $(MAKE) -j1 AR="$(AR)" RANLIB="$(RANLIB)" NMEDIT="$(NM)edit" nss_build_all \ diff --git a/external/nss/README b/external/nss/README index 77bc8172c976..a6392febb2d1 100644 --- a/external/nss/README +++ b/external/nss/README @@ -63,7 +63,7 @@ The direct link: The system sqlite in Mac OS X versions older than 10.6 is incompatible with the softokn3 in nss which requires a later version of sqlite. -Since the baseline is Mac OS X 10.6 we use +With SDK 10.6 (and more current SDK) we use NSS_USE_SYSTEM_SQLITE=1 to build using the system sqlite. |