about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makerules2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 66e6638616..2cfd67be7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+	* Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
+
 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
 
 	[BZ 14176]
diff --git a/Makerules b/Makerules
index 5ba670c1cc..d88bb62a0c 100644
--- a/Makerules
+++ b/Makerules
@@ -928,7 +928,7 @@ $(inst_libdir)/libc.so: $(common-objpfx)format.lds \
 	 cat $<; \
 	 echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
 	      '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
-	      ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
+	      ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
 	) > $@.new
 	mv -f $@.new $@