From 792d6d6725c7d80d223f5cccd9ee0c5b07229e9a Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 18 Sep 2009 14:05:49 +0000 Subject: Fix unit-cc when build is not a direct subdirectory of source; create make rule for GNUmakefile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11746 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/unit-cc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/unit-cc.pl b/make/unit-cc.pl index 3a40457f2..75c206d8c 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl use strict; use warnings; -BEGIN { push @INC, '..'; } +BEGIN { push @INC, $ENV{SOURCEPATH}; } use make::configure; my $file = shift; -- cgit v1.2.3