summaryrefslogtreecommitdiff
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
parent52f686c48080cec9a26aa23d16bc14bd3d302d70 (diff)
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
-rwxr-xr-xbin/mklib3
-rw-r--r--configs/freebsd-dri2
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/mklib b/bin/mklib
index ce405d1c89..5b04234785 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
;;
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index c7d3659e91..e8b3a96bf9 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -31,7 +31,7 @@ GLW_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
# Directories
-SRC_DIRS = mesa glu glut/glx glw glx/x11
+SRC_DIRS = glx/x11 mesa glu glut/glx glw
DRIVER_DIRS = dri
PROGRAM_DIRS =
WINDOW_SYSTEM=dri