(%.out): Define GCONV_PATH in the environment.
authorUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 18:59:22 +0000 (18:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 18:59:22 +0000 (18:59 +0000)
Rules

diff --git a/Rules b/Rules
index d5cd34e..1ccc027 100644 (file)
--- 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
 \f
 .PHONY: distclean realclean subdir_distclean subdir_realclean \