Prepend to LIBS rather than replacing

Modified-by: Travis Cross <tc@traviscross.com>
This commit is contained in:
Werner Dittmann 2012-06-25 19:09:37 +02:00 committed by Travis Cross
parent e09a6a3579
commit 85a35d67b1
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ AC_CHECK_FUNCS([pthread_mutex_lock pthread_mutex_unlock pthread_mutex_init pthre
AC_CHECK_FUNCS([pthread_attr_init pthread_attr_setdetachstate pthread_create])
AC_CHECK_FUNCS([sem_wait sem_trywait sem_post sem_unlink sem_destroy sem_open sem_init])
AC_CHECK_LIB([pthread], [main], [LIB_PTHREAD="-lpthread"], [echo " Couldn't find library pthread";])
AC_CHECK_LIB([pthread], [main], [LIBS="-lpthread $LIBS"], [echo " Couldn't find library pthread";])
# Other
AC_DEFINE(PRAGMA_PACK_PUSH,[#pragma pack(push, 1)],[Define pragma pack(push) for your platform])