Merge pull request #225 from anholt/darwin_versions

Use the darwin_versions argument
macos/v1.5.9
Emmanuele Bassi 4 years ago committed by GitHub
commit 23f4049183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      meson.build
  2. 5
      src/meson.build

@ -5,7 +5,7 @@ project('libepoxy', 'c', version: '1.5.5',
'warning_level=1',
],
license: 'MIT',
meson_version: '>= 0.46.0')
meson_version: '>= 0.48.0')
epoxy_version = meson.project_version().split('.')
epoxy_major_version = epoxy_version[0].to_int()

@ -53,9 +53,7 @@ if host_system == 'linux' and cc.get_id() == 'gcc'
endif
# Maintain compatibility with autotools; see: https://github.com/anholt/libepoxy/issues/108
if host_system == 'darwin'
common_ldflags += [ '-compatibility_version 1', '-current_version 1.0', ]
endif
darwin_versions = [1, '1.0']
epoxy_deps = [ dl_dep, ]
if host_system == 'windows'
@ -66,6 +64,7 @@ libepoxy = library(
'epoxy',
sources: epoxy_sources + epoxy_headers,
version: '0.0.0',
darwin_versions: darwin_versions,
install: true,
dependencies: epoxy_deps,
include_directories: libepoxy_inc,

Loading…
Cancel
Save