tup: add -rdynamic;

This commit is contained in:
bjorn 2022-08-12 21:08:08 -07:00
parent 23932c6e7c
commit 5fd6ef0b8f
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ bin = target == 'android' and 'bin/apk/lib/arm64-v8a' or 'bin'
lflags = '-L' .. bin
lflags += not config.debug and '-Wl,-s' or ''
lflags += config.optimize and (target == 'macos' and '-Wl,-dead_strip' or '-Wl,--gc-sections') or ''
lflags += '-rdynamic'
if target == 'win32' then
cflags += '-D_CRT_SECURE_NO_WARNINGS'