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