[gdk-pixbuf] gdk-pixbuf/meson.build: use darwin_versions in library



commit 6fda37bdc201eebf8f2fe2f1df95d5a73a71a2d7
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date:   Thu Aug 8 10:57:48 2019 +0100

    gdk-pixbuf/meson.build: use darwin_versions in library

 gdk-pixbuf/meson.build | 1 +
 meson.build            | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index 8c944ba71..12f6ddbb1 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -169,6 +169,7 @@ gdkpixbuf = library('gdk_pixbuf-2.0',
                     ],
                     soversion: soversion,
                     version: libversion,
+                   darwin_versions: darwin_versions,
                     c_args: common_cflags + gdk_pixbuf_cflags + included_loaders_cflags,
                     link_args: common_ldflags,
                     include_directories: [
diff --git a/meson.build b/meson.build
index 2a71f81d6..0c725d8ae 100644
--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@ project('gdk-pixbuf', 'c',
           'warning_level=1',
           'c_std=c99',
         ],
-        meson_version: '>= 0.46.0')
+        meson_version: '>= 0.48.0')
 
 add_project_arguments([ '-D_POSIX_C_SOURCE=200809L', '-D_DEFAULT_SOURCE', '-D_XOPEN_SOURCE' ], language: 'c')
 
@@ -186,8 +186,6 @@ if host_machine.system() == 'linux'
 endif
 
 if host_machine.system() == 'darwin'
-  # Maintain compatibility with autotools on macOS
-  common_ldflags += [ '-compatibility_version', darwin_versions[0], '-current_version', darwin_versions[1]]
   gdk_pixbuf_conf.set('OS_DARWIN', 1)
 endif
 


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