summaryrefslogtreecommitdiff
path: root/recipes/pygobject.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pygobject.recipe')
-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