mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Fix JEP and MRJ plugin building in objdir builds (bug 301076). Camino only, npodb.
This commit is contained in:
parent
7decc2a25a
commit
2c7ad74c1d
@ -49,10 +49,21 @@ TARGET = "JEP Plugin"
|
||||
|
||||
unexport CC CXX
|
||||
|
||||
JEP_PLUGIN_BUNDLE=JavaEmbeddingPlugin.bundle
|
||||
MRJ_PLUGIN_BUNDLE=MRJPlugin.plugin
|
||||
|
||||
# for objdir builds, copy the project, and symlink the sources
|
||||
ABS_topsrcdir := $(shell cd $(topsrcdir); pwd)
|
||||
ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
|
||||
export::
|
||||
ln -fs $(srcdir)/$(JEP_PLUGIN_BUNDLE) .
|
||||
ln -fs $(srcdir)/$(MRJ_PLUGIN_BUNDLE) .
|
||||
endif
|
||||
|
||||
libs install:: install-plugin
|
||||
|
||||
install-plugin:
|
||||
$(INSTALL) "JavaEmbeddingPlugin.bundle" $(DIST)/bin/plugins
|
||||
$(INSTALL) "MRJPlugin.plugin" $(DIST)/bin/plugins
|
||||
$(INSTALL) $(JEP_PLUGIN_BUNDLE) $(DIST)/bin/plugins
|
||||
$(INSTALL) $(MRJ_PLUGIN_BUNDLE) $(DIST)/bin/plugins
|
||||
|
||||
clean clobber distclean::
|
||||
|
Loading…
Reference in New Issue
Block a user