Only depend on Versions.v.i for errlist-compat.c if versioning==yes.
authordrepper <drepper>
Sat, 31 Aug 2002 18:44:55 +0000 (18:44 +0000)
committerdrepper <drepper>
Sat, 31 Aug 2002 18:44:55 +0000 (18:44 +0000)
sysdeps/gnu/Makefile

index 14c74be..661d5f8 100644 (file)
@@ -32,7 +32,7 @@ endif
 ifeq ($(subdir),stdio-common)
 
 vpath errlist.c $(full_config_sysdirs)
-ifeq ($(build-shared),yes)
+ifeq ($(versioning),yes)
 $(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
                           $(common-objpfx)Versions.v.i
 else