From 87c237bebfc792a8b439fa2c5a2b78328b139d50 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 10 Feb 2010 10:52:40 +0200 Subject: Split elf dependency extraction out of librpmbuild to external helper - Elf dependency extraction code code lifted from rpmfcELF() and refactored to saner pieces. Having it in separate executable also frees librpmbuild of libelf dependency, clean up the unnecessary linkage etc from autofoo - This lets internal dependency generator for elf files be overridden without losing file coloring (which is required for correct multilib handling). It also permits non-native elf files (eg when cross-building) to be handled by providing a custom elf dependency helper - On the flip side, this inevitably slows down builds somewhat as two fork-exec's are needed for every elf file, but unlike invoking something like the python interpreter, this is a slim helper... - All dependency extractors of the internal dependency generator are now external helpers (how twisted is that, huh? :) and thus can be customized and filtered through %__foo_provides|requires macros --- rpmio/Makefile.am | 1 - 1 file changed, 1 deletion(-) (limited to 'rpmio/Makefile.am') diff --git a/rpmio/Makefile.am b/rpmio/Makefile.am index 05edd7a8f..b811130a5 100644 --- a/rpmio/Makefile.am +++ b/rpmio/Makefile.am @@ -5,7 +5,6 @@ AM_CPPFLAGS += @WITH_NSS_INCLUDE@ AM_CPPFLAGS += @WITH_LUA_INCLUDE@ AM_CPPFLAGS += @WITH_POPT_INCLUDE@ AM_CPPFLAGS += -I$(top_srcdir)/misc -AM_CPPFLAGS += @WITH_LIBELF_INCLUDE@ AM_CPPFLAGS += -DRPMCONFIGDIR="\"@RPMCONFIGDIR@\"" AM_CPPFLAGS += -DLOCALSTATEDIR="\"$(localstatedir)\"" -- cgit v1.2.3