mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
7bcce7c1aa
Spun out from the GHC 9 upgrade. changelog_begin changelog_end
19 lines
820 B
Diff
19 lines
820 B
Diff
diff --git a/haskell/private/actions/package.bzl b/haskell/private/actions/package.bzl
|
|
index fddf30fd..564da872 100644
|
|
--- a/haskell/private/actions/package.bzl
|
|
+++ b/haskell/private/actions/package.bzl
|
|
@@ -105,7 +105,12 @@ def package(
|
|
"library-dirs": [pkgroot_lib_path] + extra_lib_dirs,
|
|
"dynamic-library-dirs": [pkgroot_lib_path] + extra_dynamic_lib_dirs,
|
|
"hs-libraries": [pkg_id.library_name(hs, my_pkg_id)] if has_hs_library else [],
|
|
- "extra-libraries": extra_libs,
|
|
+ "extra-libraries": extra_libs + ([
|
|
+ "stdc++",
|
|
+ "crypt32",
|
|
+ "shlwapi",
|
|
+ "ws2_32",
|
|
+ ] if hs.toolchain.is_windows else []),
|
|
"depends": hs.package_ids,
|
|
# TODO[AH] Add haskell_module modules
|
|
"exposed-modules": exposed_modules,
|