From: Baruch Siach Subject: Re: [PATCH] configure.in: fix external libblkid test for static link Date: Wed, 11 Jun 2014 13:14:22 +0300 Message-ID: <20140611101422.GW4074@tarshish> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org To: Theodore Ts'o Return-path: Received: from guitar.tcltek.co.il ([192.115.133.116]:53845 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755294AbaFKKO0 (ORCPT ); Wed, 11 Jun 2014 06:14:26 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: Hi Ted, On Wed, Jun 11, 2014 at 01:08:33PM +0300, Baruch Siach wrote: > External libblkid needs -luuid when linking statically. Use pkg-config to > determine it correctly. Adding --static doesn't heart even for dynamic s/heart/hurt/ baruch > linking. > > Signed-off-by: Baruch Siach > --- > 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 > -- -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -