[gtk/wip/nirbheek/gtk-3-24-meson: 27/34] meson: Disable --export-dynamic for clang



commit f4fa116dd10dc40e6f05cea4bf377f9655cdc67f
Author: Philippe Normand <phil base-art net>
Date:   Sun Nov 25 17:24:41 2018 +0000

    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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]