From 4eb2f297f1647a2bf6a3c2a391ed69bc6a8569f4 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Sun, 25 Nov 2018 17:24:41 +0000 Subject: [PATCH] meson: Disable --export-dynamic for clang It doesn't seem to be supported, at least when compiling on macOS. --- testsuite/gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build index ad1789c48c..67863593a4 100644 --- a/testsuite/gtk/meson.build +++ b/testsuite/gtk/meson.build @@ -1,6 +1,6 @@ gtk_tests_export_dynamic_ldflag = [] -if cc.get_id() != 'msvc' +if cc.get_id() != 'msvc' and cc.get_id() != 'clang' gtk_tests_export_dynamic_ldflag = ['-Wl,--export-dynamic'] endif