Fix to allow installing pocl 0.14 again (#6372)

* Resolve issue 4669

* Use prefix path magic attribute
This commit is contained in:
Michael F. Herbst 2017-11-21 16:03:36 +01:00 committed by Christoph Junghans
parent 5250c8eb0a
commit f0c0243cd4

View file

@ -91,8 +91,7 @@ def cmake_args(self):
@run_after('install')
def symlink_opencl(self):
with working_dir(self.build_directory):
os.symlink("OpenCL", join_path(self.prefix.include, "CL"))
os.symlink("CL", self.prefix.include.OpenCL)
@run_after('install')
@on_package_attributes(run_tests=True)