summaryrefslogtreecommitdiffstats
path: root/make/variant/darwin.defs
diff options
context:
space:
mode:
Diffstat (limited to 'make/variant/darwin.defs')
-rw-r--r--make/variant/darwin.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/variant/darwin.defs b/make/variant/darwin.defs
index baffda595..a966826bc 100644
--- a/make/variant/darwin.defs
+++ b/make/variant/darwin.defs
@@ -22,11 +22,16 @@ endef
define UB.COMBINE
$(RM.exe) -fr ub.combine
$(MKDIR.exe) -p ub.combine
+ $(CP.exe) ub.$(UB.first)/HandBrakeCLI ub.combine/.
+ $(LIPO.exe) $(foreach n,$(UB.archs),ub.$n/HandBrakeCLI) -create -output ub.combine/HandBrakeCLI
$(CP.exe) -R ub.$(UB.first)/HandBrake.app ub.combine/.
$(LIPO.exe) $(foreach n,$(UB.archs),ub.$n/$(1)) -create -output ub.combine/$(1)
@lipo -info ub.combine/$(1)
@sync
@echo ""
+ @echo "$@: { $(UB.archs) } combined -> ub.combine/HandBrakeCLI"
+ @echo "$@: UB executable size: `du -sh ub.combine/HandBrakeCLI | awk '{ print $$1 }'`"
+ @echo ""
@echo "$@: { $(UB.archs) } combined -> ub.combine/HandBrake.app"
@echo "$@: UB executable size: `du -sh ub.combine/$(1) | awk '{ print $$1 }'`"
endef