Explicitly link with '-ldevmapper -lselinux -lsepol' (from Fedora .src.rpm)
authorStelian Pop <stelian@popies.net>
Thu, 22 Feb 2007 20:02:35 +0000 (20:02 +0000)
committerStelian Pop <stelian@popies.net>
Thu, 22 Feb 2007 20:02:35 +0000 (20:02 +0000)
configure.in

index 3788737049e9edfe9a492949e03fc264e5f6f2d8..c69ddea798b17693ddee0725dc6e58e370ec5f1b 100644 (file)
@@ -445,7 +445,7 @@ AC_CHECK_HEADER(blkid/blkid.h, [blkid_h=yes], [blkid_h=no], [-])
 AC_CHECK_LIB(blkid, blkid_get_devname, [blkid_lib=yes], [blkid_lib=no], [-luuid])
 if test "$blkid_h" = yes -a "$blkid_lib" = yes; then
        AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.])
 AC_CHECK_LIB(blkid, blkid_get_devname, [blkid_lib=yes], [blkid_lib=no], [-luuid])
 if test "$blkid_h" = yes -a "$blkid_lib" = yes; then
        AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.])
-       BLKID="-lblkid -luuid"
+       BLKID="-lblkid -luuid -ldevmapper -lselinux -lsepol"
 fi
 AC_SUBST(BLKID)
 
 fi
 AC_SUBST(BLKID)