Golly gosh, this one took me quite some time to figure out!
Hopefully, I did not introduce any typos copying...
Michael
*darwin*) AC_DEFINE(DARWINOS,1,[Whether the host os is Darwin/MacOSX])
BLDSHARED="true"
- LDSHFLAGS="-bundle -flat_namespace -undefined suppress"
+ LDSHFLAGS="-dynamiclib -flat_namespace -undefined suppress"
+ CFLAGS="$CFLAGS -fno-common"
+ SHLD="\${CC}"
SHLIBEXT="dylib"
MODULE_EXPORTS="-exported_symbols_list \$(srcdir)/exports/modules-darwin.syms"
SHLIBEXT="dylib"