[libclc] 45/291: configure: fix out-of-source build

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 9aba71dfdcb47ea1529362290c9a13bd27ca0d5f
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Jun 26 18:20:35 2013 +0000

    configure: fix out-of-source build
    
    Patch by: Niels Ole Salscheider
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@184990 91177308-0d34-0410-b5e6-96231b3b80d8
---
 configure.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.py b/configure.py
index ec443ad..3dd9836 100755
--- a/configure.py
+++ b/configure.py
@@ -178,9 +178,10 @@ install_cmd = ' && '.join(['mkdir -p $(DESTDIR)/%(dst)s && cp -r %(src)s $(DESTD
                            {'src': file,
                             'dst': libexecdir}
                            for (file, dest) in install_files_bc])
-install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r generic/include/clc $(DESTDIR)/%(dst)s' %
+install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r %(srcdir)s/generic/include/clc $(DESTDIR)/%(dst)s' %
                            {'old': install_cmd,
-                            'dst': includedir}])
+                            'dst': includedir,
+                            'srcdir': srcdir}])
 install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r libclc.pc $(DESTDIR)/%(dst)s' %
                            {'old': install_cmd, 
                             'dst': pkgconfigdir}])

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list