poppler/0001-fix-build-with-gtk-doc-1.27.patch
David Tardon 8b0d874c13 fix FTBFS
2018-02-13 17:17:55 +01:00

29 lines
1.0 KiB
Diff

From 1f48bf3f1fdc488158ce57f3aa595c4b127e93e4 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 7 Feb 2018 16:57:59 +0100
Subject: [PATCH] fix build with gtk-doc 1.27
---
gtkdoc.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gtkdoc.py b/gtkdoc.py
index 48f862a3..2abfd8e2 100644
--- a/gtkdoc.py
+++ b/gtkdoc.py
@@ -319,9 +319,9 @@ class GTKDoc(object):
ldflags = ' "-L%s" %s ' % (self.library_path, additional_ldflags) + ldflags
current_ld_library_path = env.get('LD_LIBRARY_PATH')
if current_ld_library_path:
- env['RUN'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path)
+ env['LD_LIBRARY_PATH'] = '%s:%s' % (self.library_path, current_ld_library_path)
else:
- env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path
+ env['LD_LIBRARY_PATH'] = '%s' % self.library_path
if ldflags:
env['LDFLAGS'] = '%s %s' % (ldflags, env.get('LDFLAGS', ''))
--
2.14.3