[gtk+] build: Fix macOS linker compatibility flags



commit 7845854ca2790d9b6c13346538b27c2bf2f47879
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Aug 22 10:24:45 2017 +0100

    build: Fix macOS linker compatibility flags
    
    The linker on macOS does not support '=' in its command line; there's no
    guarantee that we are using the correct compatibility versions compared
    to the Autotools build, but for that we'll need to build GTK+ master on
    macOS.

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1927931..158e5c8 100644
--- a/meson.build
+++ b/meson.build
@@ -303,7 +303,7 @@ endif
 
 # Maintain compatibility with autotools
 if host_machine.system() == 'darwin'
-  common_ldflags += [ '-compatibility_version=1', '-current_version=1.0', ]
+  common_ldflags += [ '-compatibility_version 1', '-current_version 1.0', ]
 endif
 
 confinc = include_directories('.')


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