Skip to content

Commit 958b807

Browse files
committed
Try setting some linker flags for macos
1 parent d6974d6 commit 958b807

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

haskell-language-server.cabal

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,6 +1486,9 @@ test-suite hls-fourmolu-plugin-tests
14861486
type: exitcode-stdio-1.0
14871487
hs-source-dirs: plugins/hls-fourmolu-plugin/test
14881488
main-is: Main.hs
1489+
-- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648
1490+
if os(darwin)
1491+
ghc-options: -optl-Wl,-ld_classic
14891492
build-tool-depends:
14901493
fourmolu:fourmolu
14911494
build-depends:
@@ -1539,6 +1542,9 @@ test-suite hls-ormolu-plugin-tests
15391542
type: exitcode-stdio-1.0
15401543
hs-source-dirs: plugins/hls-ormolu-plugin/test
15411544
main-is: Main.hs
1545+
-- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648
1546+
if os(darwin)
1547+
ghc-options: -optl-Wl,-ld_classic
15421548
build-tool-depends:
15431549
ormolu:ormolu
15441550
build-depends:

0 commit comments

Comments
 (0)