From eb9cd59d45ad29081c332cfeec2c88b9684ce53a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 21 Oct 2000 07:55:50 -0600 Subject: [PATCH] [ID 20001021.003] updated hints/openbsd.sh Message-Id: <200010211955.e9LJton24170@xerxes.courtesan.com> p4raw-id: //depot/perl@7397 --- hints/openbsd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 5b79709..2e7a433 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' -- 2.7.4