[Libreoffice-commits] core.git: RepositoryExternal.mk svl/CppunitTest_svl_qa_cppunit.mk

Mike Kaganski mike.kaganski at collabora.com
Thu May 17 14:30:45 UTC 2018


 RepositoryExternal.mk             |    2 +-
 svl/CppunitTest_svl_qa_cppunit.mk |    8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit 19c45de4cb41ac7519b601b29d58760a65de0adc
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Tue May 15 15:39:01 2018 +0100

    Fix dependencies for CppunitTest_svl_qa_cppunit.mk
    
    Change-Id: I391ea52f5137975073a674ac1ad380277fe99846
    Reviewed-on: https://gerrit.libreoffice.org/54381
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    Reviewed-by: Rene Engelhard <rene at debian.org>
    Tested-by: Rene Engelhard <rene at debian.org>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index ce29fb744cfe..92ab41cbdea1 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -829,7 +829,7 @@ else # !SYSTEM_LIBNUMBERTEXT
 ifneq ($(ENABLE_LIBNUMBERTEXT),)
 
 define gb_LinkTarget__use_libnumbertext
-
+$(call gb_LinkTarget_use_package,$(1),libnumbertext_numbertext)
 $(call gb_LinkTarget_set_include,$(1),\
 	-I$(call gb_UnpackedTarball_get_dir,libnumbertext/src) \
 	$$(INCLUDE) \
diff --git a/svl/CppunitTest_svl_qa_cppunit.mk b/svl/CppunitTest_svl_qa_cppunit.mk
index 4f3cdcae7b63..0cee925f85df 100644
--- a/svl/CppunitTest_svl_qa_cppunit.mk
+++ b/svl/CppunitTest_svl_qa_cppunit.mk
@@ -27,14 +27,6 @@ $(eval $(call gb_CppunitTest_use_externals,svl_qa_cppunit, \
 	icu_headers \
 ))
 
-ifeq ($(ENABLE_LIBNUMBERTEXT),TRUE)
-ifneq ($(SYSTEM_LIBNUMBERTEXT),YES)
-$(eval $(call gb_CppunitTest_use_package,svl_qa_cppunit, \
-    libnumbertext_numbertext \
-))
-endif
-endif
-
 $(eval $(call gb_CppunitTest_add_defs,svl_qa_cppunit, \
     -DENABLE_LIBNUMBERTEXT=$(if $(filter TRUE,$(ENABLE_LIBNUMBERTEXT)),1,0) \
 ))


More information about the Libreoffice-commits mailing list