aboutsummaryrefslogtreecommitdiff
path: root/epoxy.pc.in
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-02-06 14:49:21 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-02-06 15:58:21 +0000
commit7b52d33d86b23d663adb585a32a411e658d5a4c9 (patch)
treeac6a0d457644494713df3a2faac8d23b20cb0c63 /epoxy.pc.in
parent2b6f01b0085e10b4644b672ef03b6120b1927911 (diff)
downloadlibepoxy-7b52d33d86b23d663adb585a32a411e658d5a4c9.tar.gz
Encode Epoxy capabilities into the pkg-config file
Since Epoxy can be built with different platform-specific API, having a way for dependent projects to discover those capabilities without necessarily crashing the minute they attempt to use them is a good feature to have. We strongly direct library and application developers to use pkg-config in order to use Epoxy, so it makes sense to add variables to the epoxy.pc file that can be easily extracted at configuration time.
Diffstat (limited to 'epoxy.pc.in')
-rw-r--r--epoxy.pc.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/epoxy.pc.in b/epoxy.pc.in
index 8c85a33..7828a77 100644
--- a/epoxy.pc.in
+++ b/epoxy.pc.in
@@ -3,6 +3,10 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+epoxy_has_glx=@epoxy_has_glx@
+epoxy_has_egl=@epoxy_has_egl@
+epoxy_has_wgl=@epoxy_has_wgl@
+
Name: epoxy
Description: epoxy GL dispatch Library
Version: @PACKAGE_VERSION@