summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-19 22:39:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-19 22:39:48 +0000
commit6e73c622286a7a8cb387a7fdbfb90ff26dd16a6e (patch)
tree1ef52ecfdb6c51aa1ad565ee5d497baee18c745e
parent3aa5dfc68926ebefbbd51fee7482d7d49576e4f7 (diff)
The mips test for dynamic loading was wrong
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index 20afd456f54..5d8ed721570 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -24,13 +24,14 @@ d_setrgid=$undef
d_setruid=$undef
#
-# Not all platforms support shared libs...
+# Not all platforms support dynamic loading...
#
-case `uname -m` in
+case `arch -s` in
alpha|mips|powerpc|vax)
- d_dlopen=$undef
+ usedl=$undef
;;
*)
+ usedl=$define
d_dlopen=$define
d_dlerror=$define
# we use -fPIC here because -fpic is *NOT* enough for some of the