Skip to content

Commit 19a0d12

Browse files
committed
cleanup SDL_MAIN_HANDLED
1 parent 2ce7680 commit 19a0d12

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/SConscript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ elif env["PLATFORM"] == 'win32':
178178
wesnoth = client_env.WesnothProgram("wesnoth", ["wesnoth.cpp"] + libwesnoth_objects + ["#/packaging/windows/wesnoth.o"], have_client_prereqs)
179179
client_env.Append(LINKFLAGS=['-Wl,--whole-archive', libwesnoth_widgets, '-Wl,--no-whole-archive'])
180180
elif env["PLATFORM"] == 'android':
181-
#client_env["CPPDEFINES"].remove("SDL_MAIN_HANDLED")
182181
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).union(libwesnoth_core_sources).union(libwesnoth_game_sources))) + shobjs_lua)
183182
Alias("native-lib", wesnoth)
184183
Export("wesnoth")

0 commit comments

Comments
 (0)