[ghex: 2/3] meson: fix macOS dylib versioning
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex: 2/3] meson: fix macOS dylib versioning
- Date: Sun, 14 Jul 2019 18:08:27 +0000 (UTC)
commit cc8ef9e67b23604c402460010dc0b5dccb85391b
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Sat Jul 13 16:04:42 2019 +0200
meson: fix macOS dylib versioning
The darwin_versions option is needed to ensure backwards compatibility with libtool builds on macOS, and
ensures that people that have linked against previous versions of libgtkhex.dylib, will still be able to run
their software without recompiling.
src/meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/meson.build b/src/meson.build
index fef9cb8..ac45c93 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -36,6 +36,7 @@ libghex = library(
'gtkhex-@0@'.format(libghex_version_major),
libghex_sources + libghex_headers,
version: '0.0.0',
+ darwin_versions: ['1', '1.0'],
include_directories: ghex_root_dir,
dependencies: libghex_deps,
c_args: libghex_c_args,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]