Index: third_party/mesa/BUILD.gn |
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn |
index 58cb60c0d51a696b09c0cd80334a0ccf6634504b..63770450a60c3cd268bf6925741da713961ef0fb 100644 |
--- a/third_party/mesa/BUILD.gn |
+++ b/third_party/mesa/BUILD.gn |
@@ -687,7 +687,7 @@ if (!is_android) { # TODO(GYP) enable for Android. |
# osmesa.osmesa.obj : warning LNK4197: export 'OSMesaGetIntegerv' specified |
# multiple times; using first specification |
# This also happens with the GYP build. |
- shared_library("osmesa") { |
+ loadable_module("osmesa") { |
sources = [ |
"src/src/mesa/drivers/common/driverfuncs.c", |
"src/src/mesa/drivers/common/driverfuncs.h", |