Kaydet (Commit) a1c23a44 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Fix the --disable-xmlsec build.

üst e53ac998
......@@ -4862,12 +4862,11 @@ if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
else
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0)
fi
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_LIBXML=NO
BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
BUILD_TYPE="$BUILD_TYPE LIBXML2"
fi
AC_SUBST(SYSTEM_LIBXML)
AC_SUBST(LIBXML_CFLAGS)
......@@ -5697,9 +5696,10 @@ fi
AC_MSG_CHECKING([whether to build XML Security support])
if test "$enable_xmlsec" = "no"; then
AC_MSG_RESULT([no])
ENABLE_XMLSEC=no
ENABLE_XMLSEC=
else
ENABLE_XMLSEC=yes
ENABLE_XMLSEC="YES"
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
AC_MSG_RESULT([yes])
fi
AC_SUBST(ENABLE_XMLSEC)
......
......@@ -35,7 +35,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
.INCLUDE : settings.mk
.IF "$(ENABLE_XMLSEC)" == "NO"
.IF "$(ENABLE_XMLSEC)" != "YES"
@all:
@echo "XMLSec module disabled"
.ENDIF
......
......@@ -32,7 +32,7 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\
AllLangResTarget_xsec \
Library_xmlsecurity \
Library_xsec_fw \
Library_xsec_xmlsec \
$(if $(filter YES,$(ENABLE_XMLSEC)),Library_xsec_xmlsec) \
))
# failing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment