switch: use normal libsolder

This commit is contained in:
fgsfds 2021-05-24 02:22:30 +03:00 committed by Alibek Omarov
parent bff8b75814
commit a83ca34dac
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ def configure(conf):
conf.fatal('SDL2 not availiable! Install switch-sdl2!')
conf.define('XASH_SDL', 2)
# find our dynamic linker
# conf.check_cfg(package='solder', args='--cflags --libs', uselib_store='SOLDER')
conf.env.append_unique('LDFLAGS', '-lsolderd')
conf.check_cfg(package='solder', args='--cflags --libs', uselib_store='SOLDER')
# disallow undefined symbols
conf.env.append_unique('CXXFLAGS', '-Wl,--no-undefined')
conf.env.append_unique('CFLAGS', '-Wl,--no-undefined')