From 8a8558dd59d5a511be76e94fcc94dad315831f64 Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 13 Dec 2018 23:17:48 +0300 Subject: [PATCH] build: use '-Wl,' wrapper for the -export-dynamic linker flag Meson links with the C compiler, not the raw linker. With clang+LLD, the bare flag would be ignored. Signed-off-by: Greg V --- compositor/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositor/meson.build b/compositor/meson.build index 0cacae521..c2b6432d4 100644 --- a/compositor/meson.build +++ b/compositor/meson.build @@ -27,7 +27,7 @@ exe_weston = executable( 'weston', srcs_weston, include_directories: include_directories('..', '../shared'), - link_args: [ '-export-dynamic' ], + link_args: [ '-Wl,-export-dynamic' ], dependencies: deps_weston, install: true )