Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shared module: Allow linking on Android #9999

Merged
merged 1 commit into from Feb 15, 2022

Conversation

nirbheek
Copy link
Member

Android requires shared modules that use symbols from other shared modules to be linked before they can be dlopen()ed in the correct order. Not doing so leads to a missing symbol error: android/ndk#201

We need to always allow linking for this. Also add a soname, although it's not confirmed that it's needed, and it doesn't really hurt if it isn't needed.

Android requires shared modules that use symbols from other shared
modules to be linked before they can be dlopen()ed in the correct
order. Not doing so leads to a missing symbol error:
android/ndk#201

We need to always allow linking for this. Also add a soname, although
it's not confirmed that it's needed, and it doesn't really hurt if it
isn't needed.
@codecov
Copy link

codecov bot commented Feb 14, 2022

Codecov Report

Merging #9999 (9aabd8b) into master (d37002a) will decrease coverage by 4.71%.
The diff coverage is n/a.

❗ Current head 9aabd8b differs from pull request most recent head 3acf202. Consider uploading reports for the commit 3acf202 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9999      +/-   ##
==========================================
- Coverage   66.54%   61.82%   -4.72%     
==========================================
  Files         400      200     -200     
  Lines       85065    42480   -42585     
  Branches    18726     9269    -9457     
==========================================
- Hits        56604    26264   -30340     
+ Misses      24072    14123    -9949     
+ Partials     4389     2093    -2296     
Impacted Files Coverage Δ
build.py 75.46% <0.00%> (-0.09%) ⬇️
mesonbuild/backend/ninjabackend.py
mesonbuild/build.py
mesonbuild/dependencies/misc.py
mesonbuild/templates/cstemplates.py
mesonbuild/mdist.py
mesonbuild/dependencies/pkgconfig.py
mesonbuild/cmake/common.py
mesonbuild/scripts/__init__.py
mesonbuild/interpreter/primitives/array.py
... and 191 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d37002a...3acf202. Read the comment docs.

@eli-schwartz eli-schwartz merged commit 2d56ff1 into mesonbuild:master Feb 15, 2022
@nirbheek nirbheek deleted the shared-module-link-android branch February 15, 2022 06:16
@nirbheek nirbheek added this to the 0.61.3 milestone Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants