Skip to content

Commit

Permalink
Removed pthread linking flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mmottl committed Aug 1, 2024
1 parent 05812d5 commit 85d8758
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ let add_compiler_args ~is_msvc ~cflags ~libs =
match is_msvc with
| true -> { C.Pkg_config.cflags = cflags @ [ "/O2" ]; libs }
| false ->
{
C.Pkg_config.cflags = cflags @ [ "-O2"; "-fPIC"; "-DPIC" ];
libs = libs @ [ "-lpthread" ];
}
{ C.Pkg_config.cflags = cflags @ [ "-O2"; "-fPIC"; "-DPIC" ]; libs }

let () =
let module C = Configurator.V1 in
Expand Down

0 comments on commit 85d8758

Please sign in to comment.