diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-04-08 16:22:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-04-08 16:22:17 +0000 |
commit | 6f21f2e3077c3f10fb876c8747348176717d622c (patch) | |
tree | f5a6107038af52be580bc9dd9bd00a719ebd7e7b /bfd/configure.host | |
parent | 90ba7e65085d3619720c74fc8773a29b3ba2564e (diff) | |
download | gdb-6f21f2e3077c3f10fb876c8747348176717d622c.zip gdb-6f21f2e3077c3f10fb876c8747348176717d622c.tar.gz gdb-6f21f2e3077c3f10fb876c8747348176717d622c.tar.bz2 |
* configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf*
host when configuring with --enable-shard.
Diffstat (limited to 'bfd/configure.host')
-rw-r--r-- | bfd/configure.host | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/configure.host b/bfd/configure.host index 320faa4..73d69fd 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -71,6 +71,8 @@ if [ "${shared}" = "true" ]; then *-dec-osf*) # -fpic is not needed on the Alpha. PICFLAG= + HLDFLAGS='-rpath $(libdir)' + SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)' ;; *-*-hpux*) # HP/UX uses .sl for shared libraries. @@ -89,7 +91,10 @@ if [ "${shared}" = "true" ]; then ;; *-*-linux*) SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)' - HLDFLAGS='-Wl,-rpath,$(libdir)' + case "$(libdir)" in + /lib | /usr/lib) ;; + *) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; + esac ;; *-*-sysv4* | *-*-solaris*) SHLIB_CFLAGS='-shared -h $(SONAME)' |