summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 00:14:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 00:14:15 +0000
commit83e0156982dfdb0aff1557da14da8041998661b3 (patch)
tree8fbbf2cb09c06c5afd484aae2280505a83725086 /configure
parentc7d3cd79d36c52619aa2b5180d8435d7270d4626 (diff)
Set to use pthread now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2094 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7c99d5dc8..b32d35a39 100755
--- a/configure
+++ b/configure
@@ -611,7 +611,7 @@ sub dir_check {
sub getosflags {
if ($config{OSNAME} =~ /BSD$/) {
- $config{LDLIBS} = "-Ldl -lstdc++";
+ $config{LDLIBS} = "-Ldl -lstdc++ -pthread";
$config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Wall -Woverloaded-virtual $config{OPTIMISATI}";
$config{MAKEPROG} = "gmake";
if ($config{OSNAME} eq "OpenBSD") {
@@ -626,7 +626,7 @@ sub getosflags {
}
}
} else {
- $config{LDLIBS} = "-ldl -lstdc++";
+ $config{LDLIBS} = "-ldl -lstdc++ -pthread";
$config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Wall -Woverloaded-virtual $config{OPTIMISATI}";
$config{MAKEPROG} = "make";
if ($config{OSNAME} =~ /CYGWIN/) {