File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
tests/binary-with-lib-dynamic Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,16 @@ filegroup(
99
1010cc_library(
1111 name = "threaded-rts",
12- srcs = glob(["lib/ghc-*/rts/libHSrts_thr-ghc*." + ext for ext in [
13- "so",
14- "dylib",
15- ]]
16- # dependency of `libHSrts_thr_ghc*`
17- # globbing on the `so` version to stay working when they update
18- + ["lib/ghc-*/rts/libffi.so.*"],
12+ srcs = glob(
13+ ["lib/ghc-*/rts/libHSrts_thr-ghc*." + ext for ext in [
14+ "so",
15+ "dylib",
16+ ]] +
17+ # dependency of `libHSrts_thr_ghc*`
18+ # globbing on the `so` version to stay working when they update
19+ [
20+ "lib/ghc-*/rts/libffi.so.*",
21+ ],
1922 ),
2023 hdrs = glob(["lib/ghc-*/include/**/*.h"]),
2124 strip_include_prefix = glob(
Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ package(default_testonly = 1)
99haskell_library (
1010 name = "lib" ,
1111 srcs = glob (["src/*.hs" ]),
12- src_strip_prefix = "src" ,
1312 linkstatic = False ,
13+ src_strip_prefix = "src" ,
1414)
1515
1616haskell_binary (
1717 name = "binary-with-lib-dynamic" ,
1818 srcs = ["Main.hs" ],
19+ linkstatic = False ,
1920 visibility = ["//visibility:public" ],
2021 deps = [
2122 ":lib" ,
2223 "@hackage//:base" ,
2324 ],
24- linkstatic = False ,
2525)
You can’t perform that action at this time.
0 commit comments