Skip to content

Commit 2ee648c

Browse files
committed
meson: do not add gl to pkg-config file on macOS
Even though meson will find the dependency gl on macOS, this does not mean that there is a pkg-config file for it, as meson does not use pkg-config to establish its presence. It should therefore not be added to the libepoxy pkg-config file as a (private) requirement.
1 parent c28759f commit 2ee648c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ epoxy_has_wgl = build_wgl ? '1' : '0'
9393
# not needed when building Epoxy; we do want to add them to the generated
9494
# pkg-config file, for consumers of Epoxy
9595
gl_reqs = []
96-
if gl_dep.found()
96+
if gl_dep.found() and host_system != 'darwin'
9797
gl_reqs += 'gl'
9898
endif
9999
if build_egl and egl_dep.found()

0 commit comments

Comments
 (0)