Skip to content
Snippets Groups Projects
Commit a117621eee46 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Only link libxml2 statically in purely static build

We now link libxml2 dynamically if both shared and static builds were
requested. This avoids overlinking and should fix #36.
parent f3f2f37a847a
Branches
No related tags found
No related merge requests found
......@@ -397,7 +397,7 @@
dnl
if test "x$LIBXML_CONFIG_PREFIX" = "x" -a "x$LIBXML_LIBS" = "x"; then
if test "$build_static_libs" = "no"; then
if test "$build_shared_libs" = "yes"; then
PKG_CHECK_MODULES([LIBXML], [libxml-2.0 >= $LIBXML_REQUIRED_VERSION], [
WITH_MODULES="`$PKG_CONFIG --variable=modules libxml-2.0`"
], [ ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment