diff options
author | Pierre Allegraud <pallegra@gmail.com> | 2011-01-06 07:58:57 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-01-06 08:00:01 -0700 |
commit | 8fd8de3995343f5cee8536c235e2a4fc5c768490 (patch) | |
tree | 51f541847acf3052562966a2542e1edd6e9de7f2 /bin/mklib | |
parent | 1384aea50f7f914eb2b34286308d70e5a1306b77 (diff) |
mesa: fix build for NetBSD
See http://bugs.freedesktop.org/show_bug.cgi?id=32859
NOTE: This is a candidate for the 7.9 and 7.10 branches.
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'bin/mklib')
-rwxr-xr-x | bin/mklib | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -307,7 +307,7 @@ fi # case $ARCH in - 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/*) + 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/* | 'NetBSD') # we assume gcc if [ "x$LINK" = "x" ] ; then @@ -574,20 +574,6 @@ case $ARCH in fi ;; - 'NetBSD') - if [ $STATIC = 1 ] ; then - LIBNAME="lib${LIBNAME}_pic.a" - echo "mklib: Making NetBSD PIC static library: " ${LIBNAME} - FINAL_LIBS=`make_ar_static_lib cq 1 ${LIBNAME} ${OBJECTS}` - else - LIBNAME="lib${LIBNAME}.so.${MAJOR}.${MINOR}" - echo "mklib: Making NetBSD PIC shared library: " ${LIBNAME} - rm -f ${LIBNAME} - ld -x -Bshareable -Bforcearchive -o ${LIBNAME} ${OBJECTS} - FINAL_LIBS=${LIBNAME} - fi - ;; - 'IRIX' | 'IRIX64') if [ $STATIC = 1 ] ; then LIBNAME="lib${LIBNAME}.a" |