From 696cd2d5515171cbda3a1b1fc4231a2eb12f2aa9 Mon Sep 17 00:00:00 2001 From: Arnaud Diederen Date: Fri, 8 Jan 2016 16:40:31 +0100 Subject: [PATCH] Fix 'dist' phase on mac (strip binaries) --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index 9cad7cf..1bc2ff3 100644 --- a/makefile +++ b/makefile @@ -379,6 +379,10 @@ $(DIST_BINARY): $(BINARY) | dist_dirs $(CP) $? $@ ifdef __LINUX__ strip $@ +else + ifdef __MAC__ + strip -x $@ + endif endif dist: $(BINARY) pyfiles $(DIST_OTHER_TARGETS) $(DIST_BINARY) dist_cfg | dist_dirs