Bug#358066: GNU/kFreeBSD
Robert Millan
rmh at aybabtu.com
Wed Apr 19 13:52:18 UTC 2006
I just merged this into the patch I sent to upstream BTS for GNU/kFreeBSD
support, see:
https://bugs.freedesktop.org/show_bug.cgi?id=6657
When fixing this bug in debian, could you please use this patch isntead, so that
GNU/kFreeBSD is also supported?
Thanks
--
Robert Millan
-------------- next part --------------
Index: bin/mklib
===================================================================
RCS file: /cvs/mesa/Mesa/bin/mklib,v
retrieving revision 1.51
diff -u -r1.51 mklib
--- bin/mklib 18 Apr 2006 12:56:11 -0000 1.51
+++ bin/mklib 19 Apr 2006 13:08:57 -0000
@@ -180,7 +180,7 @@
#
case $ARCH in
- 'Linux' | 'OpenBSD')
+ 'Linux' | 'OpenBSD' | 'GNU' | GNU/*)
# we assume gcc
if [ "x$LINK" = "x" ] ; then
@@ -223,11 +223,13 @@
FINAL_LIBS=${LIBNAME}.a
else
LIBNAME="lib${LIBNAME}" # prefix with "lib"
- if [ $ARCH = 'Linux' ] ; then
+ case $ARCH in 'Linux' | 'GNU' | GNU/*)
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
- else
+ ;;
+ *)
OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
- fi
+ ;;
+ esac
if [ $EXPORTS ] ; then
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
# Make the 'exptmp' file for --version-script option
More information about the Pkg-mesa-devel
mailing list