aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-09 16:01:26 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-09 16:01:26 +0000
commit3d9a5986621b76bcf68c4d2ff7bc975e010b6866 (patch)
tree340c37da48675bab872f0587f32e6ff54f9ea6b7
parentf1b45745b47b5f4886442fe16f09bda1c2ec4965 (diff)
downloadgdb-3d9a5986621b76bcf68c4d2ff7bc975e010b6866.zip
gdb-3d9a5986621b76bcf68c4d2ff7bc975e010b6866.tar.gz
gdb-3d9a5986621b76bcf68c4d2ff7bc975e010b6866.tar.bz2
* configure.host: Switch on ${libdir}, not $(libdir). From
alan@spri.levels.unisa.edu.au (Alan Modra).
-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