Merge pull request #348 from mstorsjo/darwin-dylib
Use -dynamiclib instead of -shared for building shared libraries on OS X
This commit is contained in:
commit
59c8fd19d0
@ -1,6 +1,7 @@
|
||||
include build/platform-x86-common.mk
|
||||
ASM = nasm
|
||||
SHAREDLIBSUFFIX = dylib
|
||||
SHARED = -dynamiclib
|
||||
CFLAGS += -Wno-deprecated-declarations -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
||||
LDFLAGS += -lpthread
|
||||
ASMFLAGS += --prefix _ -DNOPREFIX
|
||||
|
Loading…
x
Reference in New Issue
Block a user