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 <greg@unrelenting.technology>
This commit is contained in:
Greg V 2018-12-13 23:17:48 +03:00 committed by Pekka Paalanen
parent 3eaa57a73d
commit 8a8558dd59

@ -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
)