diff options
author | Nicolas Boichat <[email protected]> | 2016-04-28 18:41:39 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-23 13:25:51 +0100 |
commit | 0cbc90c57cfc6099b529c5caeb58f385735ba75f (patch) | |
tree | 5aab2b7690b0af4e555be4c938c3ee004484b2bc /src/compiler/nir | |
parent | 27d713a004da1918d1c5699b077734eceb0ebd75 (diff) |
mesa: dri: Add shared glapi to LIBADD on Android
/system/vendor/lib/dri/*_dri.so actually depend on libglapi: without
this, loading the so file fails with:
cannot locate symbol "__emutls_v._glapi_tls_Context"
On non-Android (non-bionic) platform, EGL uses the following
workflow, which works fine:
dlopen("libglapi.so", RTLD_LAZY | RTLD_GLOBAL);
dlopen("dri/<driver>_dri.so", RTLD_NOW | RTLD_GLOBAL);
However, bionic does not respect the RTLD_GLOBAL flag, and the dri
library cannot find symbols in libglapi.so, so we need to link
to libglapi.so explicitly. Android.mk already does this.
Signed-off-by: Nicolas Boichat <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
[Emil Velikov: s/explicitely/explicitly/]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/compiler/nir')
0 files changed, 0 insertions, 0 deletions