Commit 8a8558dd authored by myfreeweb's avatar myfreeweb Committed by Pekka Paalanen

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: myfreeweb's avatarGreg V <greg@unrelenting.technology>
parent 3eaa57a7
...@@ -27,7 +27,7 @@ exe_weston = executable( ...@@ -27,7 +27,7 @@ exe_weston = executable(
'weston', 'weston',
srcs_weston, srcs_weston,
include_directories: include_directories('..', '../shared'), include_directories: include_directories('..', '../shared'),
link_args: [ '-export-dynamic' ], link_args: [ '-Wl,-export-dynamic' ],
dependencies: deps_weston, dependencies: deps_weston,
install: true install: true
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment