summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--localedata/ChangeLog5
-rw-r--r--localedata/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 99b9078b2c..d920713908 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+1998-09-23  Ulrich Drepper  <drepper@cygnus.com>
+
+	* Makefile [no install_root] (LOCALEDEF): Run localedef using jsut
+	built ld.so.
+
 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
 
 	* Makefile: Add more dependecies for running tests.
diff --git a/localedata/Makefile b/localedata/Makefile
index b8cbac0994..231f3ac5dc 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -83,7 +83,7 @@ endif
 ifneq ($(install_root),)
 LOCALEDEF=chroot $(install_root) $(bindir)/localedef
 else
-LOCALEDEF=$(common-objpfx)locale/localedef
+LOCALEDEF=$(common-objpfx)elf/ld.so --library-path $(rpath-link) $(common-objpfx)locale/localedef
 endif
 install-locales:
 	while read locale charset; do \