about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-12 18:59:22 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-12 18:59:22 +0000
commita21cd9d19337a272b5ae311b26b470b42f3a6e53 (patch)
tree8a62e990a5bc732ec534e3eba0aa3333ea153a9a
parentb62990918e160fba3af6443dfc07f475bf0c3fc0 (diff)
downloadglibc-a21cd9d19337a272b5ae311b26b470b42f3a6e53.tar.gz
glibc-a21cd9d19337a272b5ae311b26b470b42f3a6e53.tar.xz
glibc-a21cd9d19337a272b5ae311b26b470b42f3a6e53.zip
(%.out): Define GCONV_PATH in the environment.
-rw-r--r--Rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rules b/Rules
index d5cd34e65a..1ccc027694 100644
--- a/Rules
+++ b/Rules
@@ -119,9 +119,11 @@ ifneq "$(strip $(tests) $(test-srcs))" ""
 # These are the implicit rules for making test outputs
 # from the test programs and whatever input files are present.
 $(objpfx)%.out: %.input $(objpfx)%
-	$($*-ENV) $(built-program-cmd) $($*-ARGS) < $(word 1,$^) > $@
+	GCONV_PATH=$(common-objpfx)iconvdata \
+	  $($*-ENV) $(built-program-cmd) $($*-ARGS) < $(word 1,$^) > $@
 $(objpfx)%.out: /dev/null $(objpfx)%	# Make it 2nd arg for canned sequence.
-	$($*-ENV) $(built-program-cmd) $($*-ARGS) > $@
+	GCONV_PATH=$(common-objpfx)iconvdata \
+	  $($*-ENV) $(built-program-cmd) $($*-ARGS) > $@
 endif	# tests
 
 .PHONY: distclean realclean subdir_distclean subdir_realclean \