comparison configure @ 32486:d18030ed576f

Do not enable rpath on NetBSD. patch extracted from the NetBSD pkgsrc tree
author diego
date Wed, 03 Nov 2010 08:12:22 +0000
parents 2746e4f916f6
children 9d2f9a281c62
comparison
equal deleted inserted replaced
32485:2746e4f916f6 32486:d18030ed576f
3584 fi 3584 fi
3585 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' 3585 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1'
3586 echores "$_w32threads" 3586 echores "$_w32threads"
3587 3587
3588 echocheck "rpath" 3588 echocheck "rpath"
3589 netbsd &&_rpath=yes
3590 if test "$_rpath" = yes ; then 3589 if test "$_rpath" = yes ; then
3591 for I in $(echo $extra_ldflags | sed 's/-L//g') ; do 3590 for I in $(echo $extra_ldflags | sed 's/-L//g') ; do
3592 tmp="$tmp $(echo $I | sed 's/.*/ -L& -Wl,-R&/')" 3591 tmp="$tmp $(echo $I | sed 's/.*/ -L& -Wl,-R&/')"
3593 done 3592 done
3594 extra_ldflags=$tmp 3593 extra_ldflags=$tmp