diff options
-rwxr-xr-x | configure | 2 | ||||
-rwxr-xr-x | make/unit-cc.pl | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1077,7 +1077,7 @@ EOF print "Writing \e[1;32m$file\e[0m ...\n"; - $config{BUILD_DIR} ||= 'build'; + $config{BUILD_DIR} ||= resolve_directory($config{ME}."/build"); for my $var (qw( CC SYSTEM BASE_DIR CONFIG_DIR MODULE_DIR BINARY_DIR BUILD_DIR diff --git a/make/unit-cc.pl b/make/unit-cc.pl index d4786b8fe..23a7dfb76 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -4,6 +4,8 @@ use warnings; BEGIN { push @INC, $ENV{SOURCEPATH}; } use make::configure; +chdir $ENV{BUILDPATH}; + my $out = shift; my $verbose; |