summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--src/libsystemd-bus/.gitignore1
-rw-r--r--src/libsystemd-bus/libsystemd-bus.pc.in18
3 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a49d073a68..6810cc1bf3 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 0000000000..5f797a28d5
--- /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 0000000000..7b0feb5ec5
--- /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}