Skip to content

Commit 82c983a

Browse files
benniekisstarleb
authored andcommitted
fix: export all symbols on macos
* this fixes an issue where some lua symbols were * not visible on macos, causing errors when loading * compiled lua modules. * see: jgm/pandoc#11587
1 parent 2759463 commit 82c983a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lua/lua.cabal‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ library
195195

196196
if os(darwin)
197197
cc-options: -DLUA_USE_MACOSX
198+
if flag(export-dynamic)
199+
ld-options: -Wl,-export_dynamic
198200

199201
if os(freebsd)
200202
cc-options: -DLUA_USE_POSIX

0 commit comments

Comments
 (0)