]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2340] specify thread flag as part CPPFLAGS, not LDFLAGS.
authorJINMEI Tatuya <jinmei@isc.org>
Sun, 7 Oct 2012 19:20:34 +0000 (12:20 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 11 Oct 2012 17:04:05 +0000 (10:04 -0700)
newer version of clang treats the latter as a fatal error.

configure.ac

index c6a2f01ffb160cc612ca61b8c46707cbe768107a..8495dc97a69fa3932361e40620967867365e30d2 100644 (file)
@@ -743,7 +743,8 @@ else
        done
 fi
 
-LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus $MULTITHREADING_FLAG"
+LOG4CPLUS_INCLUDES="$LOG4CPLUS_INCLUDES $MULTITHREADING_FLAG"
+LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus"
 
 AC_SUBST(LOG4CPLUS_LIBS)
 AC_SUBST(LOG4CPLUS_INCLUDES)