From 13acf1d965248f93adb63affaa1a7bbd86ebe8d2 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 24 Dec 2011 15:51:46 +0100 Subject: fix linking issue on windows --- jvmfwk/Library_jvmfwk.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'jvmfwk') diff --git a/jvmfwk/Library_jvmfwk.mk b/jvmfwk/Library_jvmfwk.mk index 9108f22e3464..5638164b2fcd 100644 --- a/jvmfwk/Library_jvmfwk.mk +++ b/jvmfwk/Library_jvmfwk.mk @@ -44,9 +44,14 @@ $(eval $(call gb_Library_add_api,jvmfwk,\ $(eval $(call gb_Library_add_linked_libs,jvmfwk,\ cppuhelper \ sal \ - $(if $(filter WNT,$(OS)),advapi32) \ )) +ifeq ($(OS),WNT) +$(eval $(call gb_Library_add_libs,jvmfwk,\ + advapi32 \ +)) +endif + $(eval $(call gb_Library_use_externals,jvmfwk,\ libxml2 \ )) -- cgit