diff options
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.32.1.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb b/meta/recipes-devtools/perl/perl_5.32.1.bb index 1fafc0a8c9..65db6da2b5 100644 --- a/meta/recipes-devtools/perl/perl_5.32.1.bb +++ b/meta/recipes-devtools/perl/perl_5.32.1.bb | |||
@@ -320,6 +320,9 @@ python split_perl_packages () { | |||
320 | # Read the pre-generated dependency file, and use it to set module dependecies | 320 | # Read the pre-generated dependency file, and use it to set module dependecies |
321 | for line in open(d.expand("${WORKDIR}") + '/perl-rdepends.txt').readlines(): | 321 | for line in open(d.expand("${WORKDIR}") + '/perl-rdepends.txt').readlines(): |
322 | splitline = line.split() | 322 | splitline = line.split() |
323 | # Filter empty lines and comments | ||
324 | if len(splitline) == 0 or splitline[0].startswith("#"): | ||
325 | continue | ||
323 | if bb.data.inherits_class('native', d): | 326 | if bb.data.inherits_class('native', d): |
324 | module = splitline[0] + '-native' | 327 | module = splitline[0] + '-native' |
325 | depends = "perl-native" | 328 | depends = "perl-native" |