pthreads: use pkgconfig to locate gc.h
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 25 Nov 2014 16:51:51 +0000 (11:51 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 25 Nov 2014 16:51:51 +0000 (11:51 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/pthreads/pthreads.nit

index 94cf078..d4af111 100644 (file)
@@ -18,6 +18,7 @@
 module pthreads is
        c_compiler_option("-pthread")
        c_linker_option("-pthread")
+       pkgconfig "bdw-gc"
 end
 
 #