summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-01-11 22:39:13 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-01-11 22:39:13 +0000
commitc8141d994e34babad60b3bb13f3b96636ce4d563 (patch)
tree483dd165228f95400d6dfb48cedbb7f4e49058e5 /libc
parent3560961878b15be5ecad9cb0ea61cfb17f1da990 (diff)
Peter Mazinger pointed out that my last commit was faulty.
This should fix it.
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
1 files changed, 1 insertions, 1 deletions
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