Do not use alternate thread library on Solaris
authorAurelien Larcher <aurelien.larcher@gmail.com>
Tue, 20 Jun 2017 22:14:44 +0000 (22:14 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 20 Feb 2018 10:07:23 +0000 (13:07 +0300)
* 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

index fb485d6..4ed9fe2 100644 (file)
@@ -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