summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/Android.mk
diff options
context:
space:
mode:
authorAdrian Negreanu <[email protected]>2014-06-06 12:16:06 +0300
committerEmil Velikov <[email protected]>2014-06-09 22:50:41 +0100
commitaba0f152be5bbc9fa844a53014bde7c02f056e4f (patch)
treea92aba97bf4a11a121f10f52b492b0f0a0bc5e6f /src/mesa/drivers/dri/Android.mk
parenteb3f80dbba3c7e6e33d9b98a6b88761550fddb97 (diff)
android: adapt to the megadriver mechanism
Fixes linker error: ld: .../libmesa_dri_common_intermediates/libmesa_dri_common.a(dri_util.o): in function globalDriverAPI:dri_util.c(.data.rel+0x0): error: undefined reference to 'driDriverAPI' As an example, you can see that mesa_dri_drivers also uses common/libmegadriver_stub (src/mesa/drivers/dri/Makefile.am) The _stub part might be confusing, but it actually provides the dri-driver shared lib constructor, megadriver_stub_init, which will later on load the real platform dependent part and call l __driDriverGetExtensions_<platform> Cc: "10.1 10.2" <[email protected]> Signed-off-by: Adrian Negreanu <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/Android.mk')
-rw-r--r--src/mesa/drivers/dri/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/Android.mk b/src/mesa/drivers/dri/Android.mk
index 9adf0b38620..e0cf51c58fd 100644
--- a/src/mesa/drivers/dri/Android.mk
+++ b/src/mesa/drivers/dri/Android.mk
@@ -43,6 +43,7 @@ MESA_DRI_C_INCLUDES := \
MESA_DRI_WHOLE_STATIC_LIBRARIES := \
libmesa_glsl \
+ libmegadriver_stub \
libmesa_dri_common \
libmesa_dricore