Skip to content

Commit 85d8758

Browse files
committed
Removed pthread linking flag
1 parent 05812d5 commit 85d8758

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/config/discover.ml

+1-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ let add_compiler_args ~is_msvc ~cflags ~libs =
7373
match is_msvc with
7474
| true -> { C.Pkg_config.cflags = cflags @ [ "/O2" ]; libs }
7575
| false ->
76-
{
77-
C.Pkg_config.cflags = cflags @ [ "-O2"; "-fPIC"; "-DPIC" ];
78-
libs = libs @ [ "-lpthread" ];
79-
}
76+
{ C.Pkg_config.cflags = cflags @ [ "-O2"; "-fPIC"; "-DPIC" ]; libs }
8077

8178
let () =
8279
let module C = Configurator.V1 in

0 commit comments

Comments
 (0)