some comments for Darwin
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 30 Mar 2006 14:28:28 +0000 (14:28 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 30 Mar 2006 14:28:28 +0000 (14:28 +0000)
bin/mklib

index 5b04234785ccbc63dc4617c1db99058a7115e600..4f30ec91e2da3054557b9e13977a748a2339605d 100755 (executable)
--- a/bin/mklib
+++ b/bin/mklib
@@ -502,6 +502,9 @@ case $ARCH in
             ${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
             FINAL_LIBS=${LIBNAME}
         else
+           # may need these:
+           # CFLAGS += -fno-common
+           # LDFLAGS += -bundle -flat_namespace -undefined suppress
             LIBNAME="lib${LIBNAME}.dylib"
             echo "mklib: Making Darwin shared library: " ${LIBNAME}
             FLAGS="-dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0"