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
@ -15454,6 +15454,9 @@ embeddable scripting language <https://lua.org Lua>.")
|
|||||||
"07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
|
"07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(properties '((upstream-name . "lua")))
|
(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))
|
(native-inputs (list ghc-tasty ghc-tasty-hunit))
|
||||||
(home-page "https://hslua.org/")
|
(home-page "https://hslua.org/")
|
||||||
(synopsis "Lua, an embeddable scripting language")
|
(synopsis "Lua, an embeddable scripting language")
|
||||||
|
Loading…
Reference in New Issue
Block a user