summaryrefslogtreecommitdiff
path: root/hints/openbsd.sh
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2000-10-21 07:55:50 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-22 17:35:18 +0000
commiteb9cd59d45ad29081c332cfeec2c88b9684ce53a (patch)
tree1af079bf2b64d034f032c37544757df120cccb6e /hints/openbsd.sh
parentf1745d4f082ca190e925c46f5bc9029b43352aa7 (diff)
downloadperl-eb9cd59d45ad29081c332cfeec2c88b9684ce53a.tar.gz
[ID 20001021.003] updated hints/openbsd.sh
Message-Id: <200010211955.e9LJton24170@xerxes.courtesan.com> p4raw-id: //depot/perl@7397
Diffstat (limited to 'hints/openbsd.sh')
-rw-r--r--hints/openbsd.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 5b79709055..2e7a433326 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -43,7 +43,7 @@ OpenBSD.alpha|OpenBSD.mips|OpenBSD.powerpc|OpenBSD.vax)
;;
*) # from 2.8 onwards
ld=${cc:-cc}
- lddlflags="-shared $lddlflags"
+ lddlflags="-shared -fPIC $lddlflags"
;;
esac
;;
@@ -95,6 +95,9 @@ case "$openbsd_distribution" in
sysman='/usr/share/man/man1'
libpth='/usr/lib'
glibpth='/usr/lib'
+ # Local things, however, do go in /usr/local
+ siteprefix='/usr/local'
+ siteprefixexp='/usr/local'
# Ports installs non-std libs in /usr/local/lib so look there too
locincpth='/usr/local/include'
loclibpth='/usr/local/lib'