mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: ghc-lua: Disable symbol export.
This turns on the linker flag -Wl,-E for all libraries depending on it, resulting in large binaries, because --gc-sections cannot clean exported symbols. * gnu/packages/haskell-xyz.scm (ghc-lua)[arguments]: Disable export-dynamic feature.
This commit is contained in:
parent
7df12c8ca6
commit
8a4ee0c113
1 changed files with 3 additions and 0 deletions
|
@ -15454,6 +15454,9 @@ (define-public ghc-lua
|
|||
"07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
|
||||
(build-system haskell-build-system)
|
||||
(properties '((upstream-name . "lua")))
|
||||
(arguments
|
||||
;; Allow creating fully static binaries. Avoids issues with linking pandoc statically.
|
||||
`(#:configure-flags (list "-f-export-dynamic")))
|
||||
(native-inputs (list ghc-tasty ghc-tasty-hunit))
|
||||
(home-page "https://hslua.org/")
|
||||
(synopsis "Lua, an embeddable scripting language")
|
||||
|
|
Loading…
Reference in a new issue