From 74c69da52ad5029cd2fc2d3d41d581022ed0a7aa Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 15 Apr 2015 12:47:57 -0500 Subject: fix static linking of pthread apps When compiling python you get duplicate symbol problem. Seen in the autobuilders of buildroot project. --- libc/sysdeps/linux/common/setregid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/setregid.c') diff --git a/libc/sysdeps/linux/common/setregid.c b/libc/sysdeps/linux/common/setregid.c index 15d590a68..aaa729379 100644 --- a/libc/sysdeps/linux/common/setregid.c +++ b/libc/sysdeps/linux/common/setregid.c @@ -37,4 +37,4 @@ int setregid(gid_t rgid, gid_t egid) } #endif -libc_hidden_def(setregid) +libc_hidden_weak(setregid) -- cgit v1.2.3