mirror of
https://github.com/86Box/mdsx.git
synced 2026-02-28 09:54:23 -07:00
Proper strip on all platforms
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user