diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 10:52:58 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 16:05:50 +0000 |
commit | baa75c4a92bff37cb742a8c3ad42ab93e4f2a3d6 (patch) | |
tree | cd6b09e5268b1c8296d6544c7faaca76b1d11fd0 /epoxy.pc.in | |
parent | f8a7661f2a63c9ffe86151439b4243836c5cb82a (diff) | |
download | libepoxy-baa75c4a92bff37cb742a8c3ad42ab93e4f2a3d6.tar.gz |
Add gl and egl private dependencies
If the system we're building Epoxy on has GL and EGL pkg-config modules,
then we should add them to the Requires.private field of the pkg-config
file.
The Requires.private field does not contribute to the linker flags
generated by pkg-config, unless we're doing a static build; it does,
however, contribute to the compiler flags generated by pkg-config, which
means that platforms that specify ad hoc compiler flags for their GL and
EGL implementations via pkg-config will be able to propagate them
through Epoxy.
Closes: #139
Diffstat (limited to 'epoxy.pc.in')
-rw-r--r-- | epoxy.pc.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epoxy.pc.in b/epoxy.pc.in index 7828a77..cdda8d9 100644 --- a/epoxy.pc.in +++ b/epoxy.pc.in @@ -13,3 +13,4 @@ Version: @PACKAGE_VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -lepoxy Libs.private: @DLOPEN_LIBS@ +Requires.private: @GL_REQS@ |