[PATCH wayland 1/2] buildsystem: adjust uninstalled -client/server pkg-config infra

Derek Foreman derekf at osg.samsung.com
Fri Aug 26 21:04:02 UTC 2016


From: "Reynaldo H. Verdejo Pinochet" <reynaldo at osg.samsung.com>

Add missing protocol dir to uninstalled include path.

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>
Reviewed-by: Derek Foreman <derekf at osg.samsung.com>
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 src/wayland-client-uninstalled.pc.in | 3 ++-
 src/wayland-server-uninstalled.pc.in | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/wayland-client-uninstalled.pc.in b/src/wayland-client-uninstalled.pc.in
index 3086621..732736e 100644
--- a/src/wayland-client-uninstalled.pc.in
+++ b/src/wayland-client-uninstalled.pc.in
@@ -1,8 +1,9 @@
 libdir=@abs_builddir@/.libs
 includedir=@abs_srcdir@
+protocoldir=@abs_top_builddir@/protocol
  
 Name: Wayland Client
 Description: Wayland client side library (not installed)
 Version: @PACKAGE_VERSION@
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${protocoldir}
 Libs: -L${libdir} -lwayland-client
diff --git a/src/wayland-server-uninstalled.pc.in b/src/wayland-server-uninstalled.pc.in
index 9057782..562686c 100644
--- a/src/wayland-server-uninstalled.pc.in
+++ b/src/wayland-server-uninstalled.pc.in
@@ -1,8 +1,9 @@
 libdir=@abs_builddir@/.libs
 includedir=@abs_srcdir@
+protocoldir=@abs_top_builddir@/protocol
  
 Name: Wayland Server
 Description: Server side implementation of the Wayland protocol (not installed)
 Version: @PACKAGE_VERSION@
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${protocoldir}
 Libs: -L${libdir} -lwayland-server
-- 
2.9.3



More information about the wayland-devel mailing list