about summary refs log tree commit diff
path: root/sysdeps/gnu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/Makefile')
-rw-r--r--sysdeps/gnu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 14c74be2f0..661d5f8752 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -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