Blame SOURCES/0104-desktop-enable-CppunitTest_desktop_lib-only-on-Linux.patch

135360
From a72e78faa93c71cce4f479a99f4b6b9961a3968d Mon Sep 17 00:00:00 2001
135360
From: Miklos Vajna <vmiklos@collabora.co.uk>
135360
Date: Thu, 10 Sep 2015 09:38:02 +0200
135360
Subject: [PATCH 104/398] desktop: enable CppunitTest_desktop_lib only on Linux
135360
135360
Since the test would fail to link on Windows, due to
135360
135360
ifeq ($(GUIBASE),unx)
135360
$(eval $(call gb_Library_add_exception_objects,sofficeapp,\
135360
    desktop/source/lib/init \
135360
))
135360
endif
135360
135360
in Library_sofficeapp.mk. Given that
135360
CppunitTest_libreofficekit_tiledrendering is marked as Linux-only as
135360
well, be consistent and have this test as Linux-only, too.
135360
135360
Change-Id: I6c8884398eba5dcf8a74c9cdc96c869b6108fb7e
135360
(cherry picked from commit ac882c305da2c5d9c30756da8ac2976f9047622d)
135360
---
135360
 desktop/Module_desktop.mk | 2 ++
135360
 1 file changed, 2 insertions(+)
135360
135360
diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
135360
index c725a268721e..d74d40629a28 100644
135360
--- a/desktop/Module_desktop.mk
135360
+++ b/desktop/Module_desktop.mk
135360
@@ -130,8 +130,10 @@ $(eval $(call gb_Module_add_check_targets,desktop, \
135360
     CppunitTest_desktop_version \
135360
 ))
135360
 
135360
+ifeq ($(OS),LINUX)
135360
 $(eval $(call gb_Module_add_check_targets,desktop, \
135360
     CppunitTest_desktop_lib \
135360
 ))
135360
+endif
135360
 
135360
 # vim: set ts=4 sw=4 et:
135360
-- 
135360
2.12.0
135360