[PATCH libinput] buildsystem: add missing uninstalled pkg-config infra
Derek Foreman
derekf at osg.samsung.com
Fri Aug 26 18:48:17 UTC 2016
From: "Reynaldo H. Verdejo Pinochet" <reynaldo at osg.samsung.com>
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>
---
configure.ac | 1 +
src/libinput-uninstalled.pc.in | 10 ++++++++++
2 files changed, 11 insertions(+)
create mode 100644 src/libinput-uninstalled.pc.in
diff --git a/configure.ac b/configure.ac
index 2a4d1a0..3658ed8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -241,6 +241,7 @@ AC_CONFIG_FILES([Makefile
doc/libinput.doxygen
src/Makefile
src/libinput.pc
+ src/libinput-uninstalled.pc
src/libinput-version.h
test/Makefile
tools/Makefile
diff --git a/src/libinput-uninstalled.pc.in b/src/libinput-uninstalled.pc.in
new file mode 100644
index 0000000..fa76ca5
--- /dev/null
+++ b/src/libinput-uninstalled.pc.in
@@ -0,0 +1,10 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: Libinput
+Description: Input device library (not installed)
+Version: @LIBINPUT_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -linput
+Libs.private: -lm -lrt
+Requires.private: libudev
--
2.9.3
More information about the wayland-devel
mailing list