Trying to build an Android .aab for armeabi-v7a and arm64-v8a with a SUBDIRS based project. There is one subdir with
and another subdir with
The lib is built in
In there, it creates subfolders for the two architectures, however, the final libnymea-app.a is created directly in there and depending on which architecture finishes last, it will overwrite the other.
This causes one of the arch builds of the app to fail linking as the lib is only available for one architecture.
I have gotten around this by adding this to the lib:
and this to the app
This makes it build successfully, however, I believe the build system should do this on its own, shouldn't it?
I have found this branch which afaict fixes exactly this issue:
However, this only seems to be run if for dynamic libs as it explicitly contains `!static` in the qmake condition.