summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-04 21:26:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-04 21:26:52 +0000
commitaadb840d93e9913a8e87830b83e7656788a5dd23 (patch)
tree4c8fdfc4684b2fe1bc27a0c24d3cc3e75d5bdd43
parentc51f8c8fe906ca0eb8f2d45d8c592f397d6729d9 (diff)
Add -lunwind to libraries on openbsd to fix some compile issues (thanks nenolod)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8119 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 278bc9bbd..e3c460496 100755
--- a/configure
+++ b/configure
@@ -960,6 +960,7 @@ sub getosflags {
if ($config{OSNAME} =~ /OpenBSD/i) {
$config{MAKEPROG} = "gmake";
+ $config{LDLIBS} = $config{LDLIBS} . " -lunwind";
chomp($foo = `eg++ -dumpversion | cut -c 1`);
# theyre running the package version of gcc (eg++)... detect it and set up its version numbers.
# if theyre not running this, configure lets the build continue but they probably wont manage to