External libblkid needs -luuid when linking statically. Use pkg-config to determine it correctly. Adding --static doesn't heart even for dynamic linking. Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 448a2926776a..ec6068320878 100644 --- a/configure.in +++ b/configure.in @@ -551,7 +551,7 @@ then [LIBBLKID=`$PKG_CONFIG --libs blkid`; STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`], [AC_MSG_ERROR([external blkid library not found])], - [$LIBBLKID]) + [`$PKG_CONFIG --static --libs blkid`]) BLKID_CMT=# AC_MSG_RESULT([Disabling private blkid library]) else -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html