Message ID | CA++az7o4XHTnRVNqZZqUkNE0Y7mJH_eOwNxSxDmjmMKkj-Z8eA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Il 30/05/2014 23:20, Rick Liu ha scritto: > # we need pthread for static linking. use previous pthread test result > elif compile_prog "" "-lrt $pthread_lib" ; then > - LIBS="-lrt $LIBS" > - libs_qga="-lrt $libs_qga" The "compile_prog" argument should also place -lrt last. Paolo
diff --git a/configure b/configure index b7635e4..179496a 100755 --- a/configure +++ b/configure @@ -2808,8 +2808,8 @@ if compile_prog "" "" ; then : # we need pthread for static linking. use previous pthread test result elif compile_prog "" "-lrt $pthread_lib" ; then - LIBS="-lrt $LIBS" - libs_qga="-lrt $libs_qga" + LIBS="$LIBS -lrt" + libs_qga="$libs_qga -lrt" fi if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \