Bug 518582: only copy faststartstub if it's built, r=gavin

This commit is contained in:
Tobias Hunger 2009-09-24 12:27:43 -04:00
parent 5cc0fb6f88
commit 2893bf19a6

View File

@ -124,8 +124,12 @@ else
libs::
cp $(LIBXUL_DIST)/bin/xulrunner-stub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY)
ifdef MOZ_FASTSTART
ifdef _MSC_VER
ifdef WINCE
cp $(LIBXUL_DIST)/bin/faststartstub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY_FASTSTART)
endif
endif
endif
ifndef SKIP_COPY_XULRUNNER
$(NSINSTALL) -D $(DIST)/bin/xulrunner
(cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -)