summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-28 11:14:53 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-28 11:14:53 +0200
commited130c675563ba21c497f14cd5c571034496053e (patch)
tree6511d6cf4f172f525c06202e24ebfacc50b24f50
parent8e49b17da8d545449dba190d59d0e9f31067c76b (diff)
dbus-python: fix build in REHL6
-rw-r--r--recipes/dbus-python.recipe4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/dbus-python.recipe b/recipes/dbus-python.recipe
index e0cfd232..4b768c01 100644
--- a/recipes/dbus-python.recipe
+++ b/recipes/dbus-python.recipe
@@ -36,3 +36,7 @@ class Recipe(recipe.Recipe):
'include/dbus-1.0/dbus/dbus-python.h',
'lib/pkgconfig/dbus-python.pc'
]
+
+ def prepare(self):
+ if self.config.target_distro_version == DistroVersion.REDHAT_6:
+ self.append_env = {'CFLAGS': ' -D_GNU_SOURCE=1'}