K 10 svn:author V 6 marcus K 8 svn:date V 27 2006-01-29T18:47:31.000000Z K 7 svn:log V 673 In trying to solve a problem with inconsistencies when linking with -shared and ${PTHREAD_LIBS}, avahi linked its binaries with -lc_r on FreeBSD. This caused nasty runtime failures on i386, and build failures on alpha, amd64, and other platforms where libc_r no longer exists. To fix this, don't go through the song and dance of trying to solve the -shared/${PTHREAD_LIBS} problem, and just link with ${PTHREAD_LIBS} as usual. Of course, ports that depend on avahi's libraries will break by doing this, so add ${PTHREAD_{LIBS,CFLAGS}} to the right pkg-config files to make sure dependencies will pick them up. Patch adapted from: Yasuda Keisuke END