From 3d9a5986621b76bcf68c4d2ff7bc975e010b6866 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Apr 1996 16:01:26 +0000 Subject: [PATCH] * configure.host: Switch on ${libdir}, not $(libdir). From alan@spri.levels.unisa.edu.au (Alan Modra). --- bfd/ChangeLog | 3 +++ bfd/configure.host | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c6ae8ca9387..9f6ace80fc6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ Tue Apr 9 11:44:21 1996 Ian Lance Taylor + * configure.host: Switch on ${libdir}, not $(libdir). From + alan@spri.levels.unisa.edu.au (Alan Modra). + * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols entry point, not just for DYNAMIC objects. * sunos.c (sunos_add_dynamic_symbols): Always call diff --git a/bfd/configure.host b/bfd/configure.host index 73d69fd439c..ca1136c2a3d 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -91,7 +91,7 @@ if [ "${shared}" = "true" ]; then ;; *-*-linux*) SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)' - case "$(libdir)" in + case "${libdir}" in /lib | /usr/lib) ;; *) HLDFLAGS='-Wl,-rpath,$(libdir)' ;; esac -- 2.30.2