=================================================================== RCS file: /home/cvs/OpenXM_contrib/gc/Attic/threadlibs.c,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gc/Attic/threadlibs.c 2000/04/14 11:08:00 1.1.1.2 +++ OpenXM_contrib/gc/Attic/threadlibs.c 2000/12/01 14:48:26 1.1.1.3 @@ -3,7 +3,16 @@ int main() { -# if defined(IRIX_THREADS) || defined(LINUX_THREADS) +# if defined(LINUX_THREADS) +# ifdef USE_LD_WRAP + printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen " + "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join " + "-Wl,--wrap -Wl,pthread_sigmask -lpthread -ldl\n"); +# else + printf("-lpthread -ldl\n"); +# endif +# endif +# if defined(IRIX_THREADS) printf("-lpthread\n"); # endif # if defined(HPUX_THREADS)