summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mklib8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/mklib b/bin/mklib
index a6e9a089f77..9c1e0cdc960 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -122,9 +122,9 @@ case $ARCH in
#OPTS="-shared -Wl,-soname,${LIBNAME}" # soname???
OPTS="-shared"
if [ $CPLUSPLUS = 1 ] ; then
- LINK="g++"
+ LINK=$CXX
else
- LINK="gcc"
+ LINK=$CC
fi
rm -f ${LIBNAME}
@@ -158,9 +158,9 @@ case $ARCH in
echo "mklib: Making" $ARCH "shared library: " ${LIBNAME}.so.${VERSION}
if [ $CPLUSPLUS = 1 ] ; then
- LINK="g++"
+ LINK=$CXX
else
- LINK="gcc"
+ LINK=$CC
fi
# rm any old libs