[Libclc-dev] [PATCH] configure.py: Add missing final newline to libclc.pc

Andreas Boll via Libclc-dev libclc-dev at lists.llvm.org
Sat May 26 01:29:47 PDT 2018


From: Sven Joachim <svenjoac at gmx.de>

Signed-off-by: Sven Joachim <svenjoac at gmx.de>
---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index 56723f7..d07644a 100755
--- a/configure.py
+++ b/configure.py
@@ -162,7 +162,7 @@ for src in ['subnormal_disable.ll', 'subnormal_use_default.ll']:
 
 # Create libclc.pc
 clc = open('libclc.pc', 'w')
-clc.write('includedir=%(inc)s\nlibexecdir=%(lib)s\n\nName: libclc\nDescription: Library requirements of the OpenCL C programming language\nVersion: %(maj)s.%(min)s.%(pat)s\nCflags: -I${includedir}\nLibs: -L${libexecdir}' %
+clc.write('includedir=%(inc)s\nlibexecdir=%(lib)s\n\nName: libclc\nDescription: Library requirements of the OpenCL C programming language\nVersion: %(maj)s.%(min)s.%(pat)s\nCflags: -I${includedir}\nLibs: -L${libexecdir}\n' %
 {'inc': includedir, 'lib': libexecdir, 'maj': version_major, 'min': version_minor, 'pat': version_patch})
 clc.close()
 
-- 
2.17.0



More information about the Libclc-dev mailing list