From: "Reynaldo H. Verdejo Pinochet" <reyna...@osg.samsung.com>

Signed-off-by: Reynaldo H. Verdejo Pinochet <reyna...@osg.samsung.com>
Reviewed-by: Derek Foreman <der...@osg.samsung.com>
Signed-off-by: Derek Foreman <der...@osg.samsung.com>
---
 configure.ac                          | 1 +
 libweston/libweston-uninstalled.pc.in | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 libweston/libweston-uninstalled.pc.in

diff --git a/configure.ac b/configure.ac
index 58fa04e..9d6749e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -678,6 +678,7 @@ AC_CONFIG_FILES([Makefile libweston/version.h 
compositor/weston.pc])
 # AC_CONFIG_FILES needs the full name when running autoconf, so we need to use
 # libweston_abi_version here, and outside [] because of m4 quoting rules
 
AC_CONFIG_FILES([libweston/libweston-]libweston_major_version[.pc:libweston/libweston.pc.in])
+AC_CONFIG_FILES([libweston/libweston-uninstalled-]libweston_major_version[.pc:libweston/libweston-uninstalled.pc.in])
 
AC_CONFIG_FILES([libweston-desktop/libweston-desktop-]libweston_major_version[.pc:libweston-desktop/libweston-desktop.pc.in])
 
 AM_CONDITIONAL([HAVE_GIT_REPO], [test -f $srcdir/.git/logs/HEAD])
diff --git a/libweston/libweston-uninstalled.pc.in 
b/libweston/libweston-uninstalled.pc.in
new file mode 100644
index 0000000..037a6d3
--- /dev/null
+++ b/libweston/libweston-uninstalled.pc.in
@@ -0,0 +1,9 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: libweston API
+Description: Header files for libweston compositors development (not installed)
+Version: @WESTON_VERSION@
+Requires.private: wayland-server pixman-1 xkbcommon
+Cflags: -I${includedir}/libweston-@LIBWESTON_MAJOR@
+Libs: -L${libdir} -lweston-@LIBWESTON_MAJOR@
-- 
2.9.3

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to