[gtk/gtk-3-24-meson: 28/99] meson: Disable --export-dynamic for clang
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 28/99] meson: Disable --export-dynamic for clang
- Date: Wed, 3 Apr 2019 19:04:17 +0000 (UTC)
commit 7d86979c1219cb303c6c73978bc0f4d5fdb31626
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]