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