commit | f64ede57ee80ed66066230d857e4b3bc893aff16 | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <[email protected]> | Wed Nov 04 16:26:28 2020 -0800 |
committer | Lingfeng Yang <[email protected]> | Wed Nov 04 16:26:28 2020 -0800 |
tree | b146e60f071d359afebe84ee9800081f5c01b94a | |
parent | 8130e8ac415e094047a18a6affd4c1ba168e1101 [diff] [blame] |
Fix cmake build Bug: 171711491 X11Support.cpp was not being built. Change-Id: I353b77844ee17c79f84319feb249768fdce9d409
diff --git a/stream-servers/apigen-codec-common/X11Support.cpp b/stream-servers/apigen-codec-common/X11Support.cpp index e4a5787..eedf92f 100644 --- a/stream-servers/apigen-codec-common/X11Support.cpp +++ b/stream-servers/apigen-codec-common/X11Support.cpp
@@ -70,12 +70,12 @@ GlxApi mApi; }; -struct X11Api* getX11Api() { +AEMU_EXPORT struct X11Api* getX11Api() { static X11FunctionGetter* g = new X11FunctionGetter; return g->getApi(); } -struct GlxApi* getGlxApi() { +AEMU_EXPORT struct GlxApi* getGlxApi() { static GlxFunctionGetter* g = new GlxFunctionGetter; return g->getApi(); }