Skip to content

Commit

Permalink
Force pthread option on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Apr 15, 2024
1 parent 98a0cd2 commit 79a7b2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocaml/configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ocaml/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,8 @@ AS_CASE([$host],
[PTHREAD_LIBS="-l:libpthread.a -lgcc_eh"],
[*-pc-windows],
[PTHREAD_LIBS="-l:libpthread.lib"],
[*-apple-darwin*],
[PTHREAD_LIBS="-pthread"],
[AX_PTHREAD(
[common_cflags="$common_cflags $PTHREAD_CFLAGS"
saved_CFLAGS="$CFLAGS"
Expand Down

0 comments on commit 79a7b2f

Please sign in to comment.