On Wed, Sep 17, 2008 at 01:35:22PM +0200, Karel Zak wrote: > Unfortunately, pkg-config does not help: > > $ pkg-config blkid --libs > -L/lib64 -lblkid -luuid -ldevmapper > > $ pkg-config blkid --libs --static > -L/lib64 -lblkid -luuid -ldevmapper -lselinux -lsepol This is fixed in e2fsprogs-git already: % pkg-config blkid --libs -lblkid % pkg-config blkid --libs --static -lblkid -luuid (The latest e2fsprogs has a way of dealing with device mapper that doesn't require pulling in -ldevmapper, and hence -lselinux and -lsepol. Win.) What is *not* yet fixed in the git tree is if you build e2fsprogs only with static libs, you want the output of "pkg-config blkid --libs" to be the same as "pkg-config --libs --static". More autoconf magic when generating the .pc file. Ho hum.... - Ted -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html