diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-25 20:46:11 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-25 20:46:11 +0200 |
commit | 8e49b17da8d545449dba190d59d0e9f31067c76b (patch) | |
tree | 2d67b925b988cbd915712d92d72228b8eae6b2bf | |
parent | 7fc78dfe2b77b7b391f4bac68fca0dd06fe8761d (diff) |
pygobject: fix build in RHEL6
-rw-r--r-- | recipes/pygobject.recipe | 2 |
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 |