From b3891debb26ef4a52b13b3b42c4db7425f887150 Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Tue, 30 Oct 2007 16:22:53 -0600 Subject: [PATCH] Fixes build for Mac OS X. If the binary is stripped on Mac OS X, dlsym fails, so builtin native library calls do not work. The solution, in this case, is to not strip the binary. --- makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefile b/makefile index 8a400218da..36ffe6d5fc 100644 --- a/makefile +++ b/makefile @@ -326,7 +326,9 @@ ifeq ($(platform),windows) else $(cc) $(^) $(lflags) -o $(@) endif +ifneq ($(platform),darwin) @$(strip) --strip-all $(@) +endif @$(show-size) $(@) $(generator): $(generator-objects)