From: Enlightenment S. <no-...@en...> - 2010-06-23 15:49:57
|
Log: fix linking with mingw Author: caro Date: 2010-06-23 08:49:50 -0700 (Wed, 23 Jun 2010) New Revision: 49817 Modified: trunk/ecore/m4/efl_pthread.m4 Modified: trunk/ecore/m4/efl_pthread.m4 =================================================================== --- trunk/ecore/m4/efl_pthread.m4 2010-06-23 15:49:11 UTC (rev 49816) +++ trunk/ecore/m4/efl_pthread.m4 2010-06-23 15:49:50 UTC (rev 49817) @@ -51,8 +51,8 @@ SAVE_CFLAGS=${CFLAGS} CFLAGS="${CFLAGS} ${_efl_pthread_cflags}" - SAVE_LDFLAGS=${LDFLAGS} - LDFLAGS="${LDFLAGS} ${_efl_pthread_libs}" + SAVE_LIBS=${LIBS} + LIBS="${LIBS} ${_efl_pthread_libs}" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include <pthread.h> @@ -64,7 +64,7 @@ [_efl_have_pthread="yes"], [_efl_have_pthread="no"]) CFLAGS=${SAVE_CFLAGS} - LDFLAGS=${SAVE_LDFLAGS} + LIBS=${SAVE_LIBS} fi @@ -96,8 +96,8 @@ SAVE_CFLAGS=${CFLAGS} CFLAGS="${CFLAGS} ${EFL_PTHREAD_CFLAGS}" - SAVE_LDFLAGS=${LDFLAGS} - LDFLAGS="${LDFLAGS} ${EFL_PTHREAD_LIBS}" + SAVE_LIBS=${LIBS} + LIBS="${LIBS} ${EFL_PTHREAD_LIBS}" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include <pthread.h> @@ -110,7 +110,7 @@ [_efl_have_pthread_spinlock="yes"], [_efl_have_pthread_spinlock="no"]) CFLAGS=${SAVE_CFLAGS} - LDFLAGS=${SAVE_LDFLAGS} + LIBS=${SAVE_LIBS} fi |