about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-18 08:28:33 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-18 08:28:33 +0000
commit8c5e5fa0f1bbe557a6cd16928afa7ae173f130eb (patch)
treee90f6a0d35495f2990984f965627cd76fb2669ff /iconvdata
parentf68137c94b74bbe84eaa47c959da8576b9eca3a4 (diff)
downloadglibc-8c5e5fa0f1bbe557a6cd16928afa7ae173f130eb.tar.gz
glibc-8c5e5fa0f1bbe557a6cd16928afa7ae173f130eb.tar.xz
glibc-8c5e5fa0f1bbe557a6cd16928afa7ae173f130eb.zip
Update.
2002-03-18  Andreas Jaeger  <aj@suse.de>

	* iconvdata/Makefile: Only run tests when shared libs are
	available.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 9817a638b6..bdbee356ac 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -54,11 +54,13 @@ modules	:= ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5		 \
 
 modules.so := $(addsuffix .so, $(modules))
 
+include ../Makeconfig
+
+ifeq (yes,$(build-shared))
 tests = bug-iconv1 bug-iconv2 tst-loading
 
 test-srcs := tst-table-from tst-table-to
-
-include ../Makeconfig
+endif
 
 libJIS-routines := jis0201 jis0208 jis0212
 libKSC-routines := ksc5601