summaryrefslogtreecommitdiff
path: root/infrastructure/makebuildenv.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/makebuildenv.pl.in')
-rwxr-xr-xinfrastructure/makebuildenv.pl.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index 52e90b50..c65a4140 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -922,11 +922,18 @@ sub additional_objects_from_make_fragment
chomp;
if(m/link-extra:\s*(.+)\Z/)
{
- my @o = split /\s+/,$1;
- for(@o)
+ my $extra = $1;
+ do
{
- push @$objs_r,$1 if m/\A(.+)\.o\Z/;
+ my @o = split /\s+/, $extra;
+ for(@o)
+ {
+ push @$objs_r,$1 if m/\A(.+)\.o\Z/;
+ }
+ last unless $extra =~ m'\\$';
+ $extra = <FL>;
}
+ while(1);
}
elsif(m/include-makefile:\s*(\S+)/)
{