compilerplugins: pass absolute path to online dir

This makes plugin.so in core.git to enter in LOOL mode.

Change-Id: I99513b5a5b4e1ee2c26d16afa127b7a5da730ee3
This commit is contained in:
Pranav Kant
2017-12-19 04:10:36 +05:30
parent 9cbef14160
commit 000e8a352c

View File

@ -384,7 +384,7 @@ done
# need this after the other stuff that uses the compiler because we don't want to run configure-tests with the plugins enabled
AS_IF([test -n "$with_compiler_plugins"],
[CPPFLAGS="$CPPFLAGS -Xclang -load -Xclang ${with_compiler_plugins}/compilerplugins/obj/plugin.so -Xclang -add-plugin -Xclang loplugin"])
[CPPFLAGS="$CPPFLAGS -Xclang -load -Xclang ${with_compiler_plugins}/compilerplugins/obj/plugin.so -Xclang -add-plugin -Xclang loplugin -Xclang -plugin-arg-loplugin -Xclang --lool-base-path=\${abs_top_srcdir}"])
AC_DEFINE_UNQUOTED([LOOLWSD_CACHEDIR],["$LOOLWSD_CACHEDIR"],[Cache folder])
AC_SUBST(LOOLWSD_CACHEDIR)