e2fsprogs: build shared library for the host
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 21 Aug 2018 21:59:52 +0000 (23:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 22 Aug 2018 11:34:04 +0000 (13:34 +0200)
By default, the e2fsprogs package builds and installs only static
libraries, unless --enable-elf-shlibs is passed. For the target
variant, we pass the appropriate
--enable-elf-shlibs/--disable-elf-shlibs options, but not for the host
package, and therefore static e2fsprogs libraries get installed.

However, on the host, our policy is to build shared libraries and not
static libraries, as visible in the default configure options passed
to host package in pkg-autotools.mk (--enable-shared
--disable-static). Let's do the same with e2fsprogs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/e2fsprogs/e2fsprogs.mk

index efc10d0e996b47ee0af4fead9501aee3cc3c35dc..65f9774afb1d10f94e1d21cca105e2b286096381 100644 (file)
@@ -27,7 +27,8 @@ HOST_E2FSPROGS_CONF_OPTS = \
        --disable-libblkid \
        --disable-libuuid \
        --enable-symlink-install \
-       --disable-testio-debug
+       --disable-testio-debug \
+       --enable-elf-shlibs
 
 # Set the binary directories to "/bin" and "/sbin", as busybox does,
 # so that we do not end up with two versions of e2fs tools.