Fix static build with pwquality (until it provides proper pkgconfig).
authorMilan Broz <gmazyland@gmail.com>
Wed, 19 Dec 2012 17:49:50 +0000 (18:49 +0100)
committerMilan Broz <gmazyland@gmail.com>
Wed, 19 Dec 2012 17:49:50 +0000 (18:49 +0100)
configure.in

index 3922d55..f135992 100644 (file)
@@ -102,7 +102,8 @@ if test "x$with_pwquality" = "xyes"; then
        PKG_CHECK_MODULES([PWQUALITY], [pwquality >= 1.0.0],,
                AC_MSG_ERROR([You need pwquality library.]))
 
-       PWQUALITY_STATIC_LIBS=$PWQUALITY_LIBS
+       dnl FIXME: this is really hack for now
+       PWQUALITY_STATIC_LIBS="$PWQUALITY_LIBS -lcrack -lz"
 fi
 
 dnl ==========================================================================