summaryrefslogtreecommitdiff
path: root/eclass/gstreamer-meson.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gstreamer-meson.eclass')
-rw-r--r--eclass/gstreamer-meson.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass
index a26b06ba4595..937c86a0f15b 100644
--- a/eclass/gstreamer-meson.eclass
+++ b/eclass/gstreamer-meson.eclass
@@ -393,7 +393,7 @@ use utf8;
use JSON::PP;
open(my $targets_file, '<:encoding(UTF-8)', 'meson-info/intro-targets.json') || die $!;
-my $data = decode_json <$targets_file>;
+my $data = decode_json (join '', <$targets_file>);
close($targets_file) || die $!;
if(!$ARGV[0]) {