[PATCH weston v2] weston.pc: Properly specify Requires.private

Quentin Glidic sardemff7+wayland at sardemff7.net
Tue Apr 5 08:11:32 UTC 2016


From: Quentin Glidic <sardemff7+git at sardemff7.net>

We include wayland-server.h, pixman.h and xkbcommon.h in compositor.h,
but they are not required for linking if the plugin doesn’t use them.

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---

v2: Was missing wayland-server

src/weston.pc.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/weston.pc.in b/src/weston.pc.in
index 828cb1f..c560eb3 100644
--- a/src/weston.pc.in
+++ b/src/weston.pc.in
@@ -8,4 +8,5 @@ pkglibexecdir=${libexecdir}/@PACKAGE@
 Name: Weston Plugin API
 Description: Header files for Weston plugin development
 Version: @WESTON_VERSION@
+Requires.private: wayland-server pixman-1 xkbcommon
 Cflags: -I${includedir}
-- 
2.7.2



More information about the wayland-devel mailing list