diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-11-24 09:04:41 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-11-24 09:04:41 +0000 |
commit | 3225151e817493b1f4f91200c4c1e13abac78ffb (patch) | |
tree | e5f42db53ca89fc6c7c3bcc76a53d836b9b65d35 /gnu | |
parent | 32fea44a447452ba1d025ef563097a2b639c7b5f (diff) |
for openbsd 3.1+, don't even bother trying to pick libdl, since it is dead.
ok millert
geez, i wrote that without a single mistake, amusing
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/hints/openbsd.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh index bc6471c54d1..7bebd5a8b81 100644 --- a/gnu/usr.bin/perl/hints/openbsd.sh +++ b/gnu/usr.bin/perl/hints/openbsd.sh @@ -41,10 +41,15 @@ alpha-2.[0-8]|mips-*|vax-*|powerpc-2.[0-7]|m88k-*) [01].*|2.[0-7]|2.[0-7].*) lddlflags="-Bshareable $lddlflags" ;; - *) # from 2.8 onwards + 2.[8-9]) # for 2.8 ld=${cc:-cc} lddlflags="-shared -fPIC $lddlflags" ;; + *) # from 3.1 onwards + ld=${cc:-cc} + lddlflags="-shared -fPIC $lddlflags" + libswanted=`echo $libswanted | sed 's/ dl / /'` + ;; esac ;; esac |