Remove rename unneeded for ndk-build build of SDL
This commit is contained in:
parent
91dedef0d3
commit
c463521d95
1 changed files with 1 additions and 5 deletions
|
@ -23,11 +23,7 @@ def add_libraries_to_archive(target, source, env):
|
|||
from zipfile import ZipFile
|
||||
with ZipFile(target[0].path, 'a') as apk:
|
||||
for library in source[2:]:
|
||||
if library.name == "libSDL2-2.0.so":
|
||||
name = "libSDL2.so"
|
||||
else:
|
||||
name = library.name
|
||||
apk.write(library.path, env.subst("lib/$ANDROID_ABI/") + name)
|
||||
apk.write(library.path, env.subst("lib/$ANDROID_ABI/") + library.name)
|
||||
|
||||
unaligned = env.Command("wesnoth.apk.unaligned", [apk[0]] + bytecode + env.Glob("$prefix/lib/*.so*") + ["$ndkdir/sources/cxx-stl/llvm-libc++/libs/$ANDROID_ABI/libc++_shared.so", "lib/libmain.so"], [
|
||||
"cp ${SOURCES[0]} $TARGET && zip -j $TARGET ${SOURCES[1]}",
|
||||
|
|
Loading…
Add table
Reference in a new issue