From: Todd C. Miller Date: Sat, 21 Oct 2000 13:55:50 +0000 (-0600) Subject: [ID 20001021.003] updated hints/openbsd.sh X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb9cd59d45ad29081c332cfeec2c88b9684ce53a;p=p5sagit%2Fp5-mst-13.2.git [ID 20001021.003] updated hints/openbsd.sh Message-Id: <200010211955.e9LJton24170@xerxes.courtesan.com> p4raw-id: //depot/perl@7397 --- 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'