Skip to content
Snippets Groups Projects
Commit 6b748886 authored by Nikos Mavrogiannopoulos's avatar Nikos Mavrogiannopoulos
Browse files

configure: warn when building as static library [ci skip]


Relates #203

Signed-off-by: default avatarNikos Mavrogiannopoulos <nmav@redhat.com>
parent 0630d1f6
No related branches found
No related tags found
Loading
Pipeline #
......@@ -1098,3 +1098,12 @@ AC_MSG_WARN([[
*** to generate or update it.
*** ]])
fi
if test "${enable_static}" != no;then
AC_MSG_WARN([[
*** GnuTLS will be build as a static library. That means that library
*** constructors for gnutls_global_init will not be made available to
*** linking applications. If you are building that library for arbitrary
*** applications to link, do not enable static linking.
]])
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment