summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 7f7a85680c..047e4cf3b7 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -230,7 +230,7 @@ rm -f core
# XXX
EOSH
-if [ "X$usethreads" != "X" ]; then
+if [ "X$usethreads" = "X$define" ]; then
ccflags="-D_REENTRANT $ccflags"
# -lpthread needs to come before -lc but after other libraries such
# as -lgdbm and such like. We assume here that -lc is present in