summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-20 09:51:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-20 09:51:11 +0000
commit89bd9a00b9f83629e26cc5d8dbee7cefff5b26ec (patch)
treea2b2e222381e50a01e5a1de2cceb265f95aa0319 /gnu
parent7d1c0752b5a7a2399f901d8cc6e92a4bb96a118e (diff)
Link perl binary with shared libperl
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index 5d8ed721570..34c4c142006 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -76,6 +76,11 @@ case "$openbsd_distribution" in
libpth='/usr/lib'
locincpth=''
loclibpth=''
+ # Link perl with shared libperl
+ if [ "$usedl" = "$define" -a -r shlib_version ]; then
+ useshrplib=true
+ libperl=`. ./shlib_version; echo libperl.so.${major}.${minor}`
+ fi
;;
esac