aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/configure.host2
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c6ae8ca..9f6ace8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Tue Apr 9 11:44:21 1996 Ian Lance Taylor <ian@cygnus.com>
+ * 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 73d69fd..ca1136c 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