summaryrefslogtreecommitdiffstats
path: root/xml2cmp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-17 14:09:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-17 23:20:46 +0100
commit98f84dfaeff753f6bf7c8b841466dbb0319e9037 (patch)
tree8b5c3176f9fe2ed945600488e239bd70bdac60fb /xml2cmp
parentuse read_uInt8s_AsOString and comphelper::string::padToLength (diff)
downloadcore-98f84dfaeff753f6bf7c8b841466dbb0319e9037.tar.gz
core-98f84dfaeff753f6bf7c8b841466dbb0319e9037.zip
simplify this
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/Executable_xml2cmp.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/xml2cmp/Executable_xml2cmp.mk b/xml2cmp/Executable_xml2cmp.mk
index 40e842827eef..156199fc0a0b 100644
--- a/xml2cmp/Executable_xml2cmp.mk
+++ b/xml2cmp/Executable_xml2cmp.mk
@@ -47,14 +47,8 @@ $(eval $(call gb_Executable_add_exception_objects,xml2cmp,\
xml2cmp/source/xcd/dependy \
))
-#uwinapi is part of STDLIBS on windows, but is created in sal,
-#which depends on this module.
-ifeq ($(OS),WNT)
+#uwinapi is part of STDLIBS on windows, but it is created in sal, which
+#depends on this module.
$(eval $(call gb_Executable_add_linked_libs,xml2cmp,\
$(filter-out uwinapi,$(gb_STDLIBS)) \
))
-else
-$(eval $(call gb_Executable_add_linked_libs,xml2cmp,\
- $(gb_STDLIBS) \
-))
-endif