1 # include "private/gcconfig.h"
6 # if defined(GC_USE_LD_WRAP)
7 printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
8 "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
9 "-Wl,--wrap -Wl,pthread_detach "
10 "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
12 # if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
13 || defined(GC_FREEBSD_THREADS)
14 printf("-lpthread\n");
16 # if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
17 printf("-lpthread -lrt\n");
19 # if defined(GC_SOLARIS_THREADS)
20 printf("-lthread -ldl\n");