scp2/InstallModule_ooo.mk            |    3 +++
 scp2/source/ooo/file_library_ooo.scp |    5 +++++
 2 files changed, 8 insertions(+)

New commits:
commit 9986f236d6b56ad773adfbc2107bfc1c6bd181d0
Author: Tor Lillqvist <t...@collabora.com>
Date:   Thu May 15 19:53:07 2014 +0300

    Don't reference the avmediaMacAVF library if not built
    
    Change-Id: If4f5c51e986b51f5795012b9535ab7a7ea51337b

diff --git a/scp2/InstallModule_ooo.mk b/scp2/InstallModule_ooo.mk
index 4396ef4..4564c72 100644
--- a/scp2/InstallModule_ooo.mk
+++ b/scp2/InstallModule_ooo.mk
@@ -69,6 +69,9 @@ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
        $(if $(SYSTEM_HSQLDB),\
                -DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
        ) \
+       $(if $(MACOSX_SDK_VERSION),\
+               -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) \
+       ) \
        $(if $(filter MSC,$(COM)),$(if 
$(MSVC_USE_DEBUG_RUNTIME),-DMSVC_PKG_DEBUG_RUNTIME)) \
 ))
 
diff --git a/scp2/source/ooo/file_library_ooo.scp 
b/scp2/source/ooo/file_library_ooo.scp
index 81ad4de..fa61087 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -107,11 +107,16 @@ File gid_File_Lib_avmediaQuickTime
        Name = LIBNAME(avmediaQuickTime);
 End
 
+#if MAXOSX_SDK_VERSION >= 1070
+#ifdef X86_64
 File gid_File_Lib_avmediaMacAVF
        PACKED_LIB_FILE_BODY;
        Name = LIBNAME(avmediaMacAVF);
 End
 #endif
+#endif
+
+#endif
 
 #if defined(MACOSX)
 File gid_File_Lib_Basebmp
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to