ref: 59c8fd19d0c6284af038a7b2a28cc710d8a6bdef
parent: 3c29c92133ec26913aa9fae290b70d4a4219f130
parent: c6cea2ccac3532d77364a3fa4f7587024c1d8947
author: Licai Guo <[email protected]>
date: Mon Feb 24 15:43:36 EST 2014
Merge pull request #348 from mstorsjo/darwin-dylib Use -dynamiclib instead of -shared for building shared libraries on OS X
--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -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