summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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