From d811ffeda29eff11fb0a381f5f17b6d65ae0460b Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 28 Sep 2009 02:21:43 +0000 Subject: Fix linking errors on BSD git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11774 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/calcdep.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make') diff --git a/make/calcdep.pl b/make/calcdep.pl index 1c5baeded..ad25875cf 100755 --- a/make/calcdep.pl +++ b/make/calcdep.pl @@ -73,7 +73,7 @@ END print MAKE < inspircd: bin/inspircd modules: $mods @@ -154,7 +154,7 @@ sub dep_dir($) { closedir DIR; if (@ofiles) { my $ofiles = join ' ', @ofiles; - print MAKE "$dir.so: $ofiles\n\t\$(RUNCC) \$(PICLDFLAGS) -o \$\@ \$^\n"; + print MAKE "$dir.so: $ofiles\n\tcd \$(BUILDPATH); \$(RUNCC) \$(PICLDFLAGS) -o \$\@ \$^ \$>\n"; return 1; } else { return 0; -- cgit v1.2.3