Fix an error, spotted by Tim Bunce.
[p5sagit/p5-mst-13.2.git] / hints / gnu.sh
index 927bcea..2cfce54 100644 (file)
@@ -4,7 +4,7 @@
 
 # libnsl is unusable on the Hurd.
 # XXX remove this once SUNRPC is implemented.
-set `echo X "$libswanted "| sed -e 's/ nsl / /'`
+set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'`
 shift
 libswanted="$*"
 
@@ -18,6 +18,9 @@ lddlflags='-shared'
 # Flags needed by programs that use dynamic linking.
 ccdlflags='-Wl,-E'
 
+# Debian bug #258618
+ccflags='-D_GNU_SOURCE'
+
 # The following routines are only available as stubs in GNU libc.
 # XXX remove this once metaconf detects the GNU libc stubs.
 d_msgctl='undef'