diff --git a/configure.ac b/configure.ac index 5c893e30fb9c..71cb0304dbfc 100644 --- a/configure.ac +++ b/configure.ac @@ -7627,7 +7627,9 @@ fi AC_SUBST([HAVE_BROKEN_GCC_WSTRINGOP_OVERFLOW]) HAVE_DLLEXPORTINLINES= -if test "$_os" = "WINNT"; then +dnl At least for Clang 14 trunk, -Zc:dllexportInlines- would cause lots of unresolved symbols when +dnl linking e.g. Library_cppuhelper, for whatever reason: +if test "$_os" = "WINNT" && test "$COM_IS_CLANG" != TRUE; then AC_MSG_CHECKING([whether $CXX_BASE supports -Zc:dllexportInlines-]) AC_LANG_PUSH([C++]) save_CXXFLAGS=$CXXFLAGS