summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-06-03 14:53:09 +0100
committerPeter Powell <petpow@saberuk.com>2015-06-03 14:59:08 +0100
commitcf94052d8fae19b12e43e25eb154ab89e2648f56 (patch)
treed4b61eb823f7787ff58a3f633ffd9143984142c4 /make/calcdep.pl
parentd549fbb7d3912b6bef86099ac6b2e552ce3c3cee (diff)
Fix modules with 2+ files not having their LinkerFlags parsed.
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index 513038843..2348edceb 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -250,7 +250,7 @@ sub dep_dir($$) {
if (@ofiles) {
my $ofiles = join ' ', @ofiles;
print MAKE "$outdir.so: $ofiles\n";
- print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl link-dir\$(VERBOSE) \$\@ \$^ \$>\n";
+ print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl link-dir\$(VERBOSE) \$\@ ${\SOURCEPATH}/src/$dir \$^ \$>\n";
return 1;
} else {
return 0;