From a2089269378b047a99601aea6d9f140725a44c3f Mon Sep 17 00:00:00 2001 From: Aurelien Larcher Date: Tue, 20 Jun 2017 22:14:44 +0000 Subject: [PATCH] Do not use alternate thread library on Solaris * configure.ac [THREADS=posix && host=*-*-solaris*] (multi_os_directory): Remove variable; remove comment. * configure.ac [THREADS=posix && host=*-*-solaris*] (THREADDLLIBS): Remove -L and -R options. --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index fb485d6..4ed9fe2 100644 --- a/configure.ac +++ b/configure.ac @@ -232,11 +232,7 @@ case "$THREADS" in THREADDLLIBS="-lpthread -lrt" ;; *-*-solaris*) - # Need to use alternate thread library, otherwise gctest hangs - # on Solaris 8. - multi_os_directory=`$CC -print-multi-os-directory` - THREADDLLIBS="-L/usr/lib/lwp/$multi_os_directory \ - -R/usr/lib/lwp/$multi_os_directory -lpthread -lrt" + THREADDLLIBS="-lpthread -lrt" ;; *-*-cygwin*) # Cygwin doesn't have a real libpthread, so Libtool can't link -- 2.7.4