From c8141d994e34babad60b3bb13f3b96636ce4d563 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Thu, 11 Jan 2007 22:39:13 +0000 Subject: Peter Mazinger pointed out that my last commit was faulty. This should fix it. --- libc/misc/internals/__uClibc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 4454c7b7c..1a9bc2a50 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -400,7 +400,7 @@ void __uClibc_main(int (*main)(int, char **, char **), int argc, exit(main(argc, argv, __environ)); } -#ifdef __UCLIBC_HAS_THREADS__ +#if defined(__UCLIBC_HAS_THREADS__) && !defined(SHARED) /* Weaks for internal library use only. * * We need to define weaks here to cover all the pthread functions that -- cgit v1.2.3