Merge pull request #156 from tschoonj/fix-gl-pkgconfig-macos

meson: do not add gl to pkg-config file on macOS
macos/v1.5.9
Emmanuele Bassi 7 years ago committed by GitHub
commit 500f522d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/meson.build

@ -93,10 +93,10 @@ epoxy_has_wgl = build_wgl ? '1' : '0'
# not needed when building Epoxy; we do want to add them to the generated
# pkg-config file, for consumers of Epoxy
gl_reqs = []
if gl_dep.found()
if gl_dep.found() and gl_dep.type_name() == 'pkgconfig'
gl_reqs += 'gl'
endif
if build_egl and egl_dep.found()
if build_egl and egl_dep.found() and egl_dep.type_name() == 'pkgconfig'
gl_reqs += 'egl'
endif

Loading…
Cancel
Save