mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-23 23:08:55 -05:00
add libs/armeabi-v7a to list of dirs deleted before building...
I had completely forgotten that native libs were being deleted before building . It is a sensible thing to do but I'm sure others will fall foul of this one day.
This commit is contained in:
@@ -2034,9 +2034,9 @@ def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
|
||||
if basesrclib:
|
||||
srclibpaths.append(basesrclib)
|
||||
|
||||
# There should never be gen or bin directories in the source, so just get
|
||||
# There should never be bin, gen or native libs directories in the source, so just get
|
||||
# rid of them...
|
||||
for baddir in ['gen', 'bin', 'obj', 'libs/armeabi', 'libs/mips', 'libs/x86']:
|
||||
for baddir in ['gen', 'bin', 'obj', 'libs/armeabi-v7a', 'libs/armeabi', 'libs/mips', 'libs/x86']:
|
||||
badpath = os.path.join(root_dir, baddir)
|
||||
if os.path.exists(badpath):
|
||||
shutil.rmtree(badpath)
|
||||
|
||||
Reference in New Issue
Block a user