summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-25 20:46:11 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-25 20:46:11 +0200
commit8e49b17da8d545449dba190d59d0e9f31067c76b (patch)
tree2d67b925b988cbd915712d92d72228b8eae6b2bf
parent7fc78dfe2b77b7b391f4bac68fca0dd06fe8761d (diff)
pygobject: fix build in RHEL6
-rw-r--r--recipes/pygobject.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/pygobject.recipe b/recipes/pygobject.recipe
index 06b698c..a022043 100644
--- a/recipes/pygobject.recipe
+++ b/recipes/pygobject.recipe
@@ -13,6 +13,8 @@ class Recipe(recipe.Recipe):
if self.config.target_platform == Platform.WINDOWS:
self.files_mainlib = ['bin/libpyglib-2.0-python.pyd']
self.files_libs = []
+ if self.config.target_distro_version == DistroVersion.REDHAT_6:
+ append_env = {'CFLAGS': ' -D_GNU_SOURCE=1'}
def post_install(self):
import shutil