diff --git a/src/Makefile b/src/Makefile index eda1a8f..dce5d08 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,6 +3,7 @@ EXT ?= .dll else ifeq "$(shell uname -s)" "Darwin" EXT ?= .dylib +STRIPFLAGS ?= -X else EXT ?= .so endif @@ -66,5 +67,5 @@ OBJS = edc.c \ build: $(CC) -shared $(CFLAGS) $(OBJS) -I. -fPIC -fomit-frame-pointer -lz -o $(DEST) ifneq "$(DEBUG)" "y" - $(STRIP) -x $(DEST) + $(STRIP) $(STRIPFLAGS) $(DEST) endif