The attached patch is needed to enable the creation of shared libraries during 
the build of the e2fsprogs tarball.  The way things are right now, the si 
build picks up e2fsprogs object files from the build tree, but the .so files 
are imported from the build host's distro.

This option is present in the RPM specfile for e2fsprogs for at least two 
vendor distributions.

This mistake is present in prior distributions.  We just haven't noticed 
because there hasn't been a great deal of change in the e2fsprogs API for 
quite some time.

Patches will be needed for the main Makefile to insure that mklibs prefers the 
build tree libraries over the distro libraries.

This effects other parts of the build tree that use libraries from e2fsprogs.
--- make.d/e2fsprogs.rul	2004-07-27 00:22:48.000000000 -0600
+++ make.d/e2fsprogs.rul	2005-01-26 20:23:39.000000000 -0700
@@ -14,6 +14,7 @@
 ifdef IS_PPC64
 	E2FSPROGS_CONFIGURE = --host=ppc-unknown-linux
 endif
+E2FSPROGS_CONFIGURE := $(E2FSPROGS_CONFIGURE) --enable-elf-shlibs
 
 # build  e2fsprogs binaries
 PHONY += e2fsprogs

Reply via email to