Commit 8472d71110 for perl
commit 8472d711103a66594ed5dc97ce5beb58e037f2a3
Author: Andrew Hewus Fresh <afresh1@openbsd.org>
Date: Thu Sep 17 14:22:33 2026 -0700
Find shlib_version when building Perl outside source directory
OpenBSD builds in an obj dir using -Dmksymlinks, and we still want
to find our local shlib_version.
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 4087bc3d94..20a3b59a80 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -167,9 +167,9 @@ case "$openbsd_distribution" in
locincpth='/usr/local/include'
loclibpth='/usr/local/lib'
# Link perl with shared libperl
- if [ "$usedl" = "$define" -a -r shlib_version ]; then
+ if [ "$usedl" = "$define" -a -r $src/shlib_version ]; then
useshrplib=true
- libperl=`. ./shlib_version; echo libperl.so.${major}.${minor}`
+ libperl=`. $src/shlib_version; echo libperl.so.${major}.${minor}`
fi
;;
esac