[Buildroot] [PATCH] parted not building static
ANDY KENNEDY
ANDY.KENNEDY at adtran.com
Mon Sep 8 15:46:55 UTC 2014
Parted would not build when PREFER_STATIC_LIB was selected. The configure
error reports "Add --disable-dynamic-loading" as the fix. Added this fix.
Signed-off-by: Andy Kennedy <andy.kennedy at adtran.com>
---
diff -Naur a/package/parted/parted.mk b/package/parted/parted.mk
--- a/package/parted/parted.mk 2014-02-27 14:51:23.000000000 -0600
+++ b/package/parted/parted.mk 2014-09-08 10:37:39.288121610 -0500
@@ -19,6 +19,10 @@
PARTED_CONF_OPT += --without-readline
endif
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+PARTED_CONF_OPT += --disable-dynamic-loading
+endif
+
ifeq ($(BR2_PACKAGE_LVM2),y)
PARTED_DEPENDENCIES += lvm2
PARTED_CONF_OPT += --enable-device-mapper
More information about the buildroot
mailing list