summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-30 14:28:28 +0000
committerBrian Paul <[email protected]>2006-03-30 14:28:28 +0000
commitef8b89faeed1c62fbb39a39aa0a06c1082e1eb17 (patch)
tree09db10994ff10212b875ddbe0ccfada7d6ee140c /bin/mklib
parent159ca321cb2b0da6cf67ab11732c6d83f8eebff5 (diff)
some comments for Darwin
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index 5b04234785c..4f30ec91e2d 100755
--- 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"