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:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user