summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-10-22 01:41:40 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-10-22 01:41:40 +0000
commit1c04be573e49e26220cf467cc7d26564e12ff260 (patch)
tree978617049124a8958defc17ff7076ed46ec99288 /bin/mklib
parent52f686c48080cec9a26aa23d16bc14bd3d302d70 (diff)
downloadexternal_mesa3d-1c04be573e49e26220cf467cc7d26564e12ff260.zip
external_mesa3d-1c04be573e49e26220cf467cc7d26564e12ff260.tar.gz
external_mesa3d-1c04be573e49e26220cf467cc7d26564e12ff260.tar.bz2
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mklib b/bin/mklib
index ce405d1..5b04234 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -338,7 +338,8 @@ case $ARCH in
echo "mklib: Making FreeBSD shared library: " ${SHLIB}
rm -f ${SHLIB}
${LINK} ${OPTS} -o ${SHLIB} ${OBJECTS} ${DEPS}
- FINAL_LIBS=${SHLIB}
+ ln -sf ${SHLIB} "lib${LIBNAME}.so"
+ FINAL_LIBS="${SHLIB} lib${LIBNAME}.so"
fi
;;