Add widgets sources to union to get rid of repeated source file
This commit is contained in:
parent
36b02e8fa6
commit
220188b436
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ elif env["PLATFORM"] == 'win32':
|
|||
client_env.Append(LINKFLAGS=['-Wl,--whole-archive', libwesnoth_widgets, '-Wl,--no-whole-archive'])
|
||||
elif env["PLATFORM"] == 'android':
|
||||
client_env["CPPDEFINES"].remove("SDL_MAIN_HANDLED")
|
||||
wesnoth = client_env.SharedLibrary("#packaging/android/lib/libmain.so", ["wesnoth.cpp"] + sorted(list(set(wesnoth_client_sources).union(set(libwesnoth_sdl_sources)))) + shobjs_lua + libwesnoth_core_sources + libwesnoth_game_sources + libwesnoth_widgets_sources)
|
||||
wesnoth = client_env.SharedLibrary("#packaging/android/lib/libmain.so", ["wesnoth.cpp"] + sorted(list(set(wesnoth_client_sources).union(set(libwesnoth_sdl_sources)).union(libwesnoth_widgets_sources))) + shobjs_lua + libwesnoth_core_sources + libwesnoth_game_sources)
|
||||
Export("wesnoth")
|
||||
else:
|
||||
wesnoth = client_env.WesnothProgram("wesnoth", ["wesnoth.cpp"] + libwesnoth_objects, have_client_prereqs)
|
||||
|
|
Loading…
Add table
Reference in a new issue