Add -lversion if build with SSPI.
authorGuenter Knauf <lists@gknw.net>
Mon, 23 Apr 2012 00:14:38 +0000 (02:14 +0200)
committerGuenter Knauf <lists@gknw.net>
Mon, 23 Apr 2012 00:15:30 +0000 (02:15 +0200)
configure.ac

index 89f26f4..506913c 100644 (file)
@@ -2984,6 +2984,7 @@ AC_HELP_STRING([--disable-sspi],[Disable SSPI]),
          AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support])
          AC_SUBST(USE_WINDOWS_SSPI, [1])
          curl_sspi_msg="enabled"
+         LIBS="$LIBS -lversion"
        else
          AC_MSG_RESULT(no)
          AC_MSG_WARN([--enable-sspi Ignored. Only supported on native Windows builds.])