Skip to content

Commit

Permalink
Park CPPUnit linking in LDFLAGS instead of LIBS
Browse files Browse the repository at this point in the history
The cppunit config program doesn't split them up, but it's more
convenient on Mac to put them in LDFLAGS, otherwise it tries to find
the Macports version of CPPUnit and it's annoying.
  • Loading branch information
pbauman committed Aug 26, 2015
1 parent c578029 commit 7c34806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ AS_IF([test "x$enable_cppunit" != "xno"], [

if (test x$HAVE_CPPUNIT = x1); then
antioch_optional_test_INCLUDES="$CPPUNIT_CPPFLAGS $antioch_optional_test_INCLUDES"
antioch_optional_test_LIBS="$CPPUNIT_LIBS $antioch_optional_test_LIBS"
antioch_optional_test_LDFLAGS="$CPPUNIT_LIBS $antioch_optional_test_LDFLAGS"
fi
AM_CONDITIONAL(ANTIOCH_ENABLE_CPPUNIT, test x$enablecppunit = xyes)

Expand Down

0 comments on commit 7c34806

Please sign in to comment.