Autohell will automatically use g++ for the final link if it sees
C++ sources, even if it isn't actually building them today.
So... link plugins/v8.cc into its own intermediate library, so there
*aren't* any C++ sources for src/pacrunner and it doesn't do that.
Add -fno-exceptions to AM_CXXFLAGS, so that it doesn't actually *need*
to link against libstdc++, even when V8 support is being built.
Add -lm to the relevant LDADD variables when duktape is being built,
because it needs trunc() from libm and was magically getting it before.
Makefile.am | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
patch has been applied.