[systemd-commits] Makefile.am src/libsystemd-bus

Lennart Poettering lennart at kemper.freedesktop.org
Thu Nov 7 03:29:22 CET 2013


 Makefile.am                             |    4 ++++
 src/libsystemd-bus/.gitignore           |    1 +
 src/libsystemd-bus/libsystemd-bus.pc.in |   18 ++++++++++++++++++
 3 files changed, 23 insertions(+)

New commits:
commit c3b8df24a9eee82b1414ad345d2e181382d2a62a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Nov 7 03:27:58 2013 +0100

    build-sys: add .pc file for libsystemd-bus

diff --git a/Makefile.am b/Makefile.am
index a49d073..6810cc1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1992,7 +1992,11 @@ libsystemd_bus_la_LDFLAGS = \
 	-version-info $(LIBSYSTEMD_BUS_CURRENT):$(LIBSYSTEMD_BUS_REVISION):$(LIBSYSTEMD_BUS_AGE) \
 	-Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
 
+pkgconfiglib_DATA += \
+	src/libsystemd-bus/libsystemd-bus.pc
+
 EXTRA_DIST += \
+	src/libsystemd-bus/libsystemd-bus.pc.in \
 	src/libsystemd-bus/libsystemd-bus.sym
 
 lib_LTLIBRARIES += \
diff --git a/src/libsystemd-bus/.gitignore b/src/libsystemd-bus/.gitignore
new file mode 100644
index 0000000..5f797a2
--- /dev/null
+++ b/src/libsystemd-bus/.gitignore
@@ -0,0 +1 @@
+/libsystemd-bus.pc
diff --git a/src/libsystemd-bus/libsystemd-bus.pc.in b/src/libsystemd-bus/libsystemd-bus.pc.in
new file mode 100644
index 0000000..7b0feb5
--- /dev/null
+++ b/src/libsystemd-bus/libsystemd-bus.pc.in
@@ -0,0 +1,18 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: systemd
+Description: systemd Bus and Event Loop Library
+URL: @PACKAGE_URL@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lsystemd-bus
+Cflags: -I${includedir}



More information about the systemd-commits mailing list