Force include hs_init_with_rtsopts (#4028)

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
This commit is contained in:
Evgeny Poberezkin
2024-04-14 16:12:34 +01:00
committed by GitHub
parent b6fd5e61b6
commit 76a33a3743

View File

@@ -367,6 +367,7 @@
"-threaded"
# "-debug"
"-optl-lffi"
"-optl-lHSrts_thr"
]
# This is fairly idiotic. LLD will strip out foreign exported
# symbols (a GHC bug? Codegen bug?). So we need to pass `-u <sym>`
@@ -391,6 +392,8 @@
"chat_valid_name"
"chat_json_length"
"chat_write_file"
# We also need to keep the rts init method around.
"hs_init_with_rtsopts"
];
postInstall = ''
set -x