From 51a38342f4de404fee89a5adbc8f404c61b11722 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 20 Apr 2006 17:41:12 +0000 Subject: Extra stuff to explicitly link execinfo.so git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3893 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9491478f0..e6f14e8d0 100755 --- a/configure +++ b/configure @@ -1476,6 +1476,12 @@ sub write_dynamic_makefile { $srcobjs = $srcobjs . "cmd_$cmd.cpp "; } +if (($config{OSNAME} !~ /Linux/i) && ($config{HAS_EXECINFO} eq "1")) { + $extra = "-l/usr/local/lib/libexecinfo.so"; +} else { + $extra = ""; +} + open(FH,">src/Makefile") or die("Could not write src/Makefile"); print FH <