[PATCH weston v3 3/3] libweston: remove pkgincludedir variable from libweston.pc

Emil Velikov emil.l.velikov at gmail.com
Fri Jul 22 13:51:52 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Common practise it to provide the includes directly into Cflags, hence
the variable is not needed and we can remove it.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Replaces the "libweston: do not add libweston-$version to the Cflags"
patch.
---
 libweston/libweston.pc.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libweston/libweston.pc.in b/libweston/libweston.pc.in
index 24fe813..34afb0d 100644
--- a/libweston/libweston.pc.in
+++ b/libweston/libweston.pc.in
@@ -2,11 +2,10 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
-pkgincludedir=${includedir}/libweston- at LIBWESTON_ABI_VERSION@
 
 Name: libweston API
 Description: Header files for libweston compositors development
 Version: @WESTON_VERSION@
 Requires.private: wayland-server pixman-1 xkbcommon
-Cflags: -I${pkgincludedir}
+Cflags: -I${includedir}/libweston- at LIBWESTON_ABI_VERSION@
 Libs: -L${libdir} -lweston- at LIBWESTON_ABI_VERSION@
-- 
2.9.0



More information about the wayland-devel mailing list