Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and possibly other use cases).
(Note: I might've missed some things to tidy up in Makefile.am, but not 100% sure.) Signed-off-by: Jeff Waugh <j...@bethesignal.org> --- Makefile.am | 3 --- configure.ac | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3539e03..d2ebc81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6442,9 +6442,6 @@ man/%: man/%.in sysctl.d/%: sysctl.d/%.in $(SED_PROCESS) -%.pc: %.pc.in - $(SED_PROCESS) - %.conf: %.conf.in $(SED_PROCESS) diff --git a/configure.ac b/configure.ac index 29111f5..21b8008 100644 --- a/configure.ac +++ b/configure.ac @@ -1510,6 +1510,16 @@ AC_CONFIG_FILES([ docs/libudev/version.xml docs/gudev/Makefile docs/gudev/version.xml + src/libudev/libudev.pc + src/compat-libs/libsystemd-id128.pc + src/compat-libs/libsystemd-daemon.pc + src/compat-libs/libsystemd-login.pc + src/compat-libs/libsystemd-journal.pc + src/libsystemd/sd-id128/libsystemd-id128.pc + src/libsystemd/libsystemd.pc + src/udev/udev.pc + src/core/systemd.pc + src/gudev/gudev-1.0.pc ]) AC_OUTPUT -- 1.9.1 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel