From f1b2589c7948a4d9eb1ba1f323107e3e14b0f9bb Mon Sep 17 00:00:00 2001 From: Edsko de Vries Date: Wed, 24 Apr 2024 15:44:08 +0200 Subject: [PATCH] Mention `cc-options` --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a488306..763102d 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,12 @@ Loading static libraries is not supported in this configuration. Try using a dynamic library instead. ``` -Currently the only known workaround is to simply remove this line from the -`.cabal` file; it does not appear to be necessary on Linux. See -[crypton#32](https://github.com/kazu-yamamoto/crypton/pull/32) for an example. +Currently the only known workaround is patch such packages and replace this with + +```cabal +cc-options: -pthread +``` + +An example is `crypton`, +[crypton#33](https://github.com/kazu-yamamoto/crypton/pull/33) for details.