summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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