From 7370d64c18b795a63eda40efcc9e786b821cb7f7 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 30 Oct 2011 20:32:40 +0100 Subject: [PATCH] p11-kit can't be used as a static library * It just doesn't make sense. * The initialization refcounting in particular can only work as a shared library. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 2544084..f76e9d5 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,10 @@ AM_PROG_CC_C_O LINGUAS="" AM_GNU_GETTEXT([external], [need-ngettext]) +if test "$enable_static" = "yes"; then + AC_MSG_ERROR([p11-kit cannot be used as a static library]) +fi + AC_MSG_CHECKING([for win32]) case "$host" in *-*-mingw*) -- 2.40.0