Add --Bsymbolic-functions link option to EGL stub.
This make sure we always get the right value of function pointers
of our EGL entry points.
Test: compiled & booted
Bug: None
Change-Id: I8f9e3171e7e77bd32049ebcc02faaa491b15e565
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index c0bace8..32f3e66 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -162,7 +162,7 @@
"libEGL_getProcAddress",
"libEGL_blobCache",
],
- ldflags: ["-Wl,--exclude-libs=ALL"],
+ ldflags: ["-Wl,--exclude-libs=ALL,--Bsymbolic-functions"],
export_include_dirs: ["EGL/include"],
}