Parcourir la source

[2340] Revert "[2340] specify thread flag as part CPPFLAGS, not LDFLAGS."

This reverts commit daf81c8846bf0b4e4308068a019c96beb09c5199.

I believe the sense of the change is correct, but it has effects on
other OSes, so it's probably better to use clang specific workaround
(will commit it later).
JINMEI Tatuya il y a 12 ans
Parent
commit
b770f51096
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      configure.ac

+ 1 - 2
configure.ac

@@ -743,8 +743,7 @@ else
 	done
 	done
 fi
 fi
 
 
-LOG4CPLUS_INCLUDES="$LOG4CPLUS_INCLUDES $MULTITHREADING_FLAG"
-LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus"
+LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus $MULTITHREADING_FLAG"
 
 
 AC_SUBST(LOG4CPLUS_LIBS)
 AC_SUBST(LOG4CPLUS_LIBS)
 AC_SUBST(LOG4CPLUS_INCLUDES)
 AC_SUBST(LOG4CPLUS_INCLUDES)