alpha: Provide wait4 for static library [BZ #27150]

This ia regression from 09153638cfef91, versioned_symbol acts as
weak_alias for !SHARED but it is undefined to avoid non versioned
alias from the generic implementation.

Checked with a build for alpha-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2021-01-05 11:22:25 -03:00
parent f5082c7010
commit 6cc992412c

View File

@ -21,6 +21,8 @@
#undef weak_alias
#define weak_alias(a, b)
#include <sysdeps/unix/sysv/linux/wait4.c>
#undef weak_alias
#define weak_alias(name, aliasname) _weak_alias (name, aliasname)
versioned_symbol (libc, __wait4, wait4, GLIBC_2_1);
/* GLIBC_2_0 version is implemented at osf_wait4.c. */