Add OE-SDK option to Meson
Add option to enable oe-sdk which will setup linker arguments to allow
for building and running tests with the x86 SDK.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I8279b7d862e29235d2d4eae39405cc35a51b762f
diff --git a/test/meson.build b/test/meson.build
index aaa21b4..48233c5 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -6,6 +6,8 @@
gmock,
gtest,
],
+ link_args: dynamic_linker,
+ build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
implicit_include_directories: false,
include_directories: '..',
)