summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RepositoryExternal.mk2
-rw-r--r--svl/CppunitTest_svl_qa_cppunit.mk8
2 files changed, 1 insertions, 9 deletions
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) \
))