summaryrefslogtreecommitdiff
path: root/linuxthreads/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/cancel.c')
-rw-r--r--linuxthreads/cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/cancel.c b/linuxthreads/cancel.c
index 8fd8c1e60f..e1e887e0f9 100644
--- a/linuxthreads/cancel.c
+++ b/linuxthreads/cancel.c
@@ -162,7 +162,7 @@ void __pthread_perform_cleanup(void)
c->__routine(c->__arg);
}
-#ifndef PIC
+#ifndef SHARED
/* We need a hook to force the cancelation wrappers to be linked in when
static libpthread is used. */
extern const int __pthread_provide_wrappers;