summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 18:24:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 18:24:05 +0000
commit8f86d8aced8ab3e2d04f194d7d91389cda247c44 (patch)
treefa72728eecce60e795adc03128941dfcc4b20593
parentd0decf048ad0d67fc7a88deba537eb5664281e4e (diff)
Added -lstdc++
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2065 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index bc5db9a33..88e86a22a 100755
--- a/configure
+++ b/configure
@@ -611,7 +611,7 @@ sub dir_check {
sub getosflags {
if ($config{OSNAME} =~ /BSD$/) {
- $config{LDLIBS} = "-Ldl";
+ $config{LDLIBS} = "-Ldl -lstdc++";
$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";
+ $config{LDLIBS} = "-ldl -lstdc++";
$config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Wall -Woverloaded-virtual $config{OPTIMISATI}";
$config{MAKEPROG} = "make";
if ($config{OSNAME} =~ /CYGWIN/) {