Skip to content

Commit

Permalink
Merge pull request #140 from cinetim/fix/missing-autotools-xerces-c-l…
Browse files Browse the repository at this point in the history
…inker-symbols

fix: Update m4/ax_lib_xerces.m4 to build with xerces-c linker symbols…
  • Loading branch information
jhursty committed Jun 13, 2024
2 parents 9b13644 + 5936126 commit daf1916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions m4/ax_lib_xerces.m4
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,8 @@ XMLPlatformUtils::Initialize();
AC_MSG_WARN([Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=@<:@DIR@:>@ or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib])
fi
fi
if test "$HAVE_XERCES" = "yes"; then
CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
fi
])

0 comments on commit daf1916

Please sign in to comment.