bsh can be external
This commit is contained in:
parent
28a9c86ffa
commit
3bcf910cde
2 changed files with 18 additions and 1 deletions
|
@ -847,5 +847,19 @@ endef
|
|||
|
||||
endif # SYSTEM_SAXON
|
||||
|
||||
ifeq ($(SYSTEM_BSH),YES)
|
||||
|
||||
define gb_JavaClassSet__use_bsh
|
||||
$(call gb_JavaClassSet_add_system_jar,$(1),$(BSH_JAR))
|
||||
endef
|
||||
|
||||
else # !SYSTEM_BSH
|
||||
|
||||
define gb_JavaClassSet__use_bsh
|
||||
$(call gb_JavaClassSet_add_jar,$(1),$(OUTDIR)/bin/bsh.jar)
|
||||
endef
|
||||
|
||||
endif # SYSTEM_BSH
|
||||
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -34,7 +34,10 @@ $(eval $(call gb_Jar_add_jars,ScriptProviderForBeanShell,\
|
|||
$(OUTDIR)/bin/ridl.jar \
|
||||
$(OUTDIR)/bin/unoil.jar \
|
||||
$(OUTDIR)/bin/ScriptFramework.jar \
|
||||
$(OUTDIR)/bin/bsh.jar \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_externals,ScriptProviderForBeanShell,\
|
||||
bsh \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForBeanShell,com))
|
||||
|
|
Loading…
Reference in a new issue