X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.in;h=4149de9db44dcebfde3d953b3ce9e4fc354bf1c1;hp=8c43c7634d6028fed31ce32d82818a4112c6cb4a;hb=937a1d5deef2727cdf22ef3afda61fe766d234df;hpb=3995a01bfe4a35251a62c69ff118b436b311594d diff --git a/configure.in b/configure.in index 8c43c76..4149de9 100644 --- a/configure.in +++ b/configure.in @@ -206,7 +206,16 @@ if test -n "$auto_cflags"; then test -z "$CFLAGS" && CFLAGS=-g || CFLAGS="$CFLAGS -g" fi else - test -z "$LDFLAGS" && LDFLAGS=-s + if test -z "$LDFLAGS"; then + case "$build_os" in + darwin*) + LDFLAGS= + ;; + *) + LDFLAGS=-s + ;; + esac + fi if test -n "$GCC"; then test -z "$CFLAGS" && CFLAGS="-Wall -O2" || CFLAGS="$CFLAGS -Wall -O2" else