summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Preen <preen@informatik.uni-freiburg.de>2019-09-30 16:49:44 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-30 16:50:23 +0100
commitfe74809cb55b3d3162bdf7f8323b4422fe1475f9 (patch)
tree9fc2367a34a4fc5c88807760bd9fecde815c1358
parentec5bf0b83235d01ad0b2865d1819a603441f50f2 (diff)
Testsuite: dynamic libraries are usable on Solaris
-rwxr-xr-xtest/configure2
-rw-r--r--test/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/configure b/test/configure
index d6d66b4dc..42b405585 100755
--- a/test/configure
+++ b/test/configure
@@ -3273,7 +3273,7 @@ done
host_os=`uname -s`
case $CC-$host_os in
- gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD)
+ gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* )
LOADED=bin/loaded
LOADED_OPT="-shared -fPIC"
echo "Using gcc on $host_os: will compile dynamically loaded module"
diff --git a/test/configure.ac b/test/configure.ac
index 858b8e30f..1aed4d106 100644
--- a/test/configure.ac
+++ b/test/configure.ac
@@ -31,7 +31,7 @@ dnl "install" script for some weird reason.
host_os=`uname -s`
case $CC-$host_os in
- gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD)
+ gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* )
LOADED=bin/loaded
LOADED_OPT="-shared -fPIC"
echo "Using gcc on $host_os: will compile dynamically loaded module"