From ab5d12b8968fc98f5eaf2863b0ab86abae343a5a Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 2 Dec 2015 01:01:26 -0500 Subject: [PATCH] Link with pthread libs --- cyclone.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyclone.scm b/cyclone.scm index ee110c76..e44a283e 100644 --- a/cyclone.scm +++ b/cyclone.scm @@ -286,7 +286,7 @@ (comp-prog-cmd (string-append "gcc " src-file " -g -c -o " exec-file ".o")) (comp-objs-cmd - (string-append "gcc " exec-file ".o " objs-str " -lcyclone -lm -g -o " exec-file))) + (string-append "gcc " exec-file ".o " objs-str " -pthread -lcyclone -lm -g -o " exec-file))) ;(write `(DEBUG all imports ,lib-deps objs ,objs-str)) ;(write `(DEBUG ,(lib:get-all-import-deps (cdar in-prog)))) (cond