Skip to content

Commit c58bdc8

Browse files
committed
Lint fixes.
1 parent c8bf000 commit c58bdc8

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

haskell/ghc.BUILD

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ filegroup(
99

1010
cc_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(

tests/binary-with-lib-dynamic/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ package(default_testonly = 1)
99
haskell_library(
1010
name = "lib",
1111
srcs = glob(["src/*.hs"]),
12-
src_strip_prefix = "src",
1312
linkstatic = False,
13+
src_strip_prefix = "src",
1414
)
1515

1616
haskell_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
)

0 commit comments

Comments
 (0)