projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b47bb
)
more Darwin tweaks
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 21:18:32 +0000
(21:18 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 25 Mar 2004 21:18:32 +0000
(21:18 +0000)
bin/mklib
patch
|
blob
|
history
diff --git
a/bin/mklib
b/bin/mklib
index f2eb1da34dd3942bff45fd0b784d4dba22eaab4d..ef6dd129b594462fe4a30865ab58cf8a2e4b9693 100755
(executable)
--- a/
bin/mklib
+++ b/
bin/mklib
@@
-363,7
+363,12
@@
case $ARCH in
LIBNAME="${LIBNAME}.dylib"
echo "mklib: Making Darwin libraries: " ${LIBNAME}
FLAGS="-dynamiclib -multiply_defined suppress"
- cc ${FLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
+ if [ $CPLUSPLUS = 1 ] ; then
+ LINK="g++"
+ else
+ LINK="cc"
+ fi
+ ${LINK} ${FLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
FINAL_LIBS=${LIBNAME}
fi
;;