summaryrefslogtreecommitdiff
path: root/vcl/Library_desktop_detector.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-04 22:46:53 +0200
committerTor Lillqvist <tml@iki.fi>2013-04-05 00:18:50 +0300
commitb7525f1f1d123084b60269f420300afdd405b0d1 (patch)
tree0b2e32b3879a27802c0e607b187c1b43ab697c9e /vcl/Library_desktop_detector.mk
parentf5928f09ad53de2c4683000619d29be140a97be8 (diff)
Drop jvmaccess and jvmfwk when no SOLAR_JAVA
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
Diffstat (limited to 'vcl/Library_desktop_detector.mk')
-rw-r--r--vcl/Library_desktop_detector.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/Library_desktop_detector.mk b/vcl/Library_desktop_detector.mk
index 88902b4eb940..bce3d93a02b9 100644
--- a/vcl/Library_desktop_detector.mk
+++ b/vcl/Library_desktop_detector.mk
@@ -41,7 +41,8 @@ $(eval $(call gb_Library_use_libraries,desktop_detector,\
cppuhelper \
i18nisolang1 \
i18nutil \
- jvmaccess \
+ $(if $(filter TRUE,$(SOLAR_JAVA)), \
+ jvmaccess) \
cppu \
sal \
))