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/power-supply/test/meson.build b/power-supply/test/meson.build
index 8006d63..f7523a0 100644
--- a/power-supply/test/meson.build
+++ b/power-supply/test/meson.build
@@ -11,6 +11,8 @@
],
implicit_include_directories: false,
include_directories: '../..',
+ link_args: dynamic_linker,
+ build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
link_with: [
libpower,
],