Skip to content

Commit f5b2fe8

Browse files
committed
WIP Fix usage of cc.tools.cc as string vs struct
1 parent 8cb8ed6 commit f5b2fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

haskell/c2hs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _c2hs_library_impl(ctx):
8686
(
8787
"""
8888
export PATH=$PATH:{mingw_bin}
89-
""".format(mingw_bin = paths.dirname(cc.tools.cc)) if hs.toolchain.is_windows else ""
89+
""".format(mingw_bin = paths.dirname(cc.tools.cc.executable.path)) if hs.toolchain.is_windows else ""
9090
) +
9191
"""
9292
# Include libdir in include path just like hsc2hs does.

0 commit comments

Comments
 (0)