Skip to content

Commit e93e0c8

Browse files
committed
Fix don't strip all symbols
1 parent fe5eee5 commit e93e0c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SConstruct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ if ARGUMENTS.get("debugging_symbols") == 'true':
3333
remove_options(env["LINKFLAGS"], "-Wl,-S", "-Wl,-x", "-Wl,-dead_strip")
3434
env.Append(CCFLAGS=["-g", "-O0"])
3535

36+
# Avoid stripping all symbols, we need `luagdextension_entrypoint` exported
37+
remove_options(env["LINKFLAGS"], "-s")
38+
3639
# Lua defines
3740
env.Append(CPPDEFINES="MAKE_LIB")
3841
if env["platform"] == "windows":

0 commit comments

Comments
 (0)