diff --git a/build.macos32x86/common/Makefile.app b/build.macos32x86/common/Makefile.app index 097b7c04a4..55c46d90a1 100644 --- a/build.macos32x86/common/Makefile.app +++ b/build.macos32x86/common/Makefile.app @@ -120,11 +120,16 @@ $(APP)/Contents/Resources/%.bundle: $(BLDDIR)/vm/%.bundle echo cp -pR $< $(APP)/Contents/Resources; \ cp -pR $< $(APP)/Contents/Resources; \ fi - + $(APP)/Contents/MacOS/Plugins/%.dylib: $(BLDDIR)/vm/%.dylib @mkdir -p $(APP)/Contents/MacOS/Plugins - cp -p $< $(APP)/Contents/MacOS/Plugins - + @if [ -f $(basename $<).ignore ]; then \ + echo $(notdir $<) is being ignored; \ + rm -rf $^; \ + else \ + echo cp -p $< $(APP)/Contents/MacOS/Plugins; \ + cp -p $< $(APP)/Contents/MacOS/Plugins; \ + fi $(VMPLIST): $(OSXDIR)/$(SYSTEM)-Info.plist getversion -mkdir -p $(APP)/Contents diff --git a/build.macos64x64/common/Makefile.app b/build.macos64x64/common/Makefile.app index 097b7c04a4..55c46d90a1 100644 --- a/build.macos64x64/common/Makefile.app +++ b/build.macos64x64/common/Makefile.app @@ -120,11 +120,16 @@ $(APP)/Contents/Resources/%.bundle: $(BLDDIR)/vm/%.bundle echo cp -pR $< $(APP)/Contents/Resources; \ cp -pR $< $(APP)/Contents/Resources; \ fi - + $(APP)/Contents/MacOS/Plugins/%.dylib: $(BLDDIR)/vm/%.dylib @mkdir -p $(APP)/Contents/MacOS/Plugins - cp -p $< $(APP)/Contents/MacOS/Plugins - + @if [ -f $(basename $<).ignore ]; then \ + echo $(notdir $<) is being ignored; \ + rm -rf $^; \ + else \ + echo cp -p $< $(APP)/Contents/MacOS/Plugins; \ + cp -p $< $(APP)/Contents/MacOS/Plugins; \ + fi $(VMPLIST): $(OSXDIR)/$(SYSTEM)-Info.plist getversion -mkdir -p $(APP)/Contents