[systemd-devel] [PATCH 1/2] build-sys: Always install compat pkg-config files

Armin K krejzi at email.com
Sat Feb 22 06:21:59 PST 2014


Packages are still looking for the old pkg-config files,
so until everything has been ported over, install them
always, no matter if compat-libs are built or not.

Compat .pc files use -lsystemd anyways, so no harm is done.
---
 Makefile.am | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0b879f1..e25d532 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2084,7 +2084,11 @@ INSTALL_EXEC_HOOKS += libsystemd-install-hook
 UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
 
 pkgconfiglib_DATA += \
-	src/libsystemd/libsystemd.pc
+	src/libsystemd/libsystemd.pc \
+	src/compat-libs/libsystemd-journal.pc \
+	src/compat-libs/libsystemd-login.pc \
+	src/compat-libs/libsystemd-id128.pc \
+	src/compat-libs/libsystemd-daemon.pc
 
 pkginclude_HEADERS += \
 	src/systemd/sd-login.h \
@@ -4472,12 +4476,6 @@ lib_LTLIBRARIES += \
 	libsystemd-id128.la \
 	libsystemd-daemon.la
 
-pkgconfiglib_DATA += \
-	src/compat-libs/libsystemd-journal.pc \
-	src/compat-libs/libsystemd-login.pc \
-	src/compat-libs/libsystemd-id128.pc \
-	src/compat-libs/libsystemd-daemon.pc
-
 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
 compat-lib-install-hook:
 	libname=libsystemd-login.so && $(move-to-rootlibdir)
-- 
1.9.0



More information about the systemd-devel mailing list