Blob Blame History Raw
From a72e78faa93c71cce4f479a99f4b6b9961a3968d Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos@collabora.co.uk>
Date: Thu, 10 Sep 2015 09:38:02 +0200
Subject: [PATCH 104/398] desktop: enable CppunitTest_desktop_lib only on Linux

Since the test would fail to link on Windows, due to

ifeq ($(GUIBASE),unx)
$(eval $(call gb_Library_add_exception_objects,sofficeapp,\
    desktop/source/lib/init \
))
endif

in Library_sofficeapp.mk. Given that
CppunitTest_libreofficekit_tiledrendering is marked as Linux-only as
well, be consistent and have this test as Linux-only, too.

Change-Id: I6c8884398eba5dcf8a74c9cdc96c869b6108fb7e
(cherry picked from commit ac882c305da2c5d9c30756da8ac2976f9047622d)
---
 desktop/Module_desktop.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
index c725a268721e..d74d40629a28 100644
--- a/desktop/Module_desktop.mk
+++ b/desktop/Module_desktop.mk
@@ -130,8 +130,10 @@ $(eval $(call gb_Module_add_check_targets,desktop, \
     CppunitTest_desktop_version \
 ))
 
+ifeq ($(OS),LINUX)
 $(eval $(call gb_Module_add_check_targets,desktop, \
     CppunitTest_desktop_lib \
 ))
+endif
 
 # vim: set ts=4 sw=4 et:
-- 
2.12.0