summaryrefslogtreecommitdiff
path: root/recipes/custom.py
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-04 15:25:09 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-04 15:25:09 +0200
commit3e7e6d8c2ed0ab9713bd07def0af1f14b8f710b1 (patch)
tree160be1ca40cde1708a4230a1077a2b7e30608dd3 /recipes/custom.py
parentb96fd98938ce0e43b7991df3859b298011d60c70 (diff)
gstreamer-static: fill platform files dictionary properly
Diffstat (limited to 'recipes/custom.py')
-rw-r--r--recipes/custom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/custom.py b/recipes/custom.py
index a4f5da2a..7cacae9e 100644
--- a/recipes/custom.py
+++ b/recipes/custom.py
@@ -44,11 +44,11 @@ class GStreamerStatic(recipe.Recipe):
self.files_list.extend(f)
for cat in self.platform_plugins_categories:
name = 'platform_files_%s_devel' % cat
- files = getattr(self, name)
- files = files.get(self.config.target_platform, [])
+ platform_files = getattr(self, name)
+ files = platform_files.get(self.config.target_platform, [])
f = ['lib/gstreamer-0.10/static/%s.a' % x for x in files]
f.extend(['lib/gstreamer-0.10/static/%s.la' % x for x in files])
- setattr(self, name, f)
+ platform_files[self.config.platform] = f
self.files_list.extend(f)
def configure(self):