[Libreoffice-commits] core.git: configure.ac oox/Library_oox.mk svx/Library_svx.mk

jan Iversen jani at libreoffice.org
Sun Sep 10 12:20:47 UTC 2017


 configure.ac       |    4 ++--
 oox/Library_oox.mk |    2 +-
 svx/Library_svx.mk |    3 +--
 3 files changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 113ba194f8fd10baa8dd97dff8c2619d059ba99e
Author: jan Iversen <jani at libreoffice.org>
Date:   Sun Sep 10 12:28:29 2017 +0200

    iOS, avmedia library depend on autogen flag.
    
    Disabled linking of avmedia if not present.
    
    Change-Id: Id64192ec8172d4388b3624b5f832a90f7af1179c

diff --git a/configure.ac b/configure.ac
index c3d38c3dffa1..f053df0192c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4030,7 +4030,7 @@ darwin*)
 
     case "$host_cpu" in
     arm)
-        OS=iOS
+        OS=IOS
         if test "$enable_ios_simulator" = "yes"; then
             CPUNAME=I386
             RTL_ARCH=x86
@@ -4042,7 +4042,7 @@ darwin*)
         fi
         ;;
     arm64)
-        OS=iOS
+        OS=IOS
         if test "$enable_ios_simulator" = "yes"; then
             CPUNAME=X86_64
             RTL_ARCH=X86_64
diff --git a/oox/Library_oox.mk b/oox/Library_oox.mk
index ecf760f0350c..a21157be131f 100644
--- a/oox/Library_oox.mk
+++ b/oox/Library_oox.mk
@@ -38,7 +38,7 @@ $(eval $(call gb_Library_use_api,oox,\
 ))
 
 $(eval $(call gb_Library_use_libraries,oox,\
-    avmedia \
+    $(call gb_Helper_optional,AVMEDIA,avmedia) \
     basegfx \
     comphelper \
     cppu \
diff --git a/svx/Library_svx.mk b/svx/Library_svx.mk
index 825b6c172487..b24478828ff2 100644
--- a/svx/Library_svx.mk
+++ b/svx/Library_svx.mk
@@ -41,8 +41,7 @@ $(eval $(call gb_Library_add_defs,svx,\
 $(eval $(call gb_Library_set_precompiled_header,svx,$(SRCDIR)/svx/inc/pch/precompiled_svx))
 
 $(eval $(call gb_Library_use_libraries,svx,\
-    $(if $(filter-out $(OS),IOS), \
-        avmedia) \
+    $(call gb_Helper_optional,AVMEDIA,avmedia) \
     basegfx \
     sb \
     comphelper \


More information about the Libreoffice-commits mailing list