summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2011-10-16 13:15:42 +0000
committerRene Engelhard <rene@debian.org>2011-10-16 16:52:59 +0200
commita8699a2665b465a19db1fde1159dbeb70253da0b (patch)
tree66a02fe6625fc61436af005b9419b87a4450252f
parent8e970bc4e75caf40324f821123fdce36cb01918c (diff)
add Class-Path: to ScriptProviderForBeanShell.jar when using system-beanshell
-rw-r--r--scripting/Jar_ScriptProviderForBeanShell.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripting/Jar_ScriptProviderForBeanShell.mk b/scripting/Jar_ScriptProviderForBeanShell.mk
index e81f5b0c0827..7fd320141f3d 100644
--- a/scripting/Jar_ScriptProviderForBeanShell.mk
+++ b/scripting/Jar_ScriptProviderForBeanShell.mk
@@ -39,6 +39,11 @@ $(eval $(call gb_Jar_add_jars,ScriptProviderForBeanShell,\
$(eval $(call gb_Jar_use_externals,ScriptProviderForBeanShell,\
bsh \
))
+ifeq ($(SYSTEM_BSH),YES)
+$(eval $(call gb_Jar_set_jarclasspath,ScriptProviderForBeanShell,\
+ $(BSH_JAR) \
+))
+endif
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForBeanShell,com))