engine: wscript: remove useless globs

This commit is contained in:
Alibek Omarov 2024-10-24 15:46:33 +03:00
parent 958ea0ac1d
commit 1cf40a2d17

View file

@ -188,12 +188,11 @@ def build(bld):
if bld.env.MAGX: if bld.env.MAGX:
libs.append('MAGX') libs.append('MAGX')
source += bld.path.ant_glob(['platform/magx/*.cpp'])
is_cxx_link = True is_cxx_link = True
if bld.env.DEST_OS == 'android': if bld.env.DEST_OS == 'android':
libs += ['LOG'] libs += ['LOG']
source += bld.path.ant_glob(['platform/android/*.cpp', 'platform/android/*.c', 'platform/linux/*.c']) source += bld.path.ant_glob(['platform/android/*.c', 'platform/linux/*.c'])
if bld.env.DEST_OS == 'nswitch': if bld.env.DEST_OS == 'nswitch':
libs += [ 'SOLDER' ] libs += [ 'SOLDER' ]