[LLVMbugs] [Bug 19875] New: libraries and executables need different rpaths
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 27 21:06:33 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19875
Bug ID: 19875
Summary: libraries and executables need different rpaths
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: brad.king at kitware.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12569
--> http://llvm.org/bugs/attachment.cgi?id=12569&action=edit
a hack that fixes the issue by setting CMAKE_MODULE_LINKER_FLAGS directly
Some libraries are not always installed in a directory called lib, so using
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
fails in that case.
In particular, the binutils plugins are installed in a directory called
bfd-plugins.
What the configure build does is to use $ORIGIN/../lib for executables but
$ORIGIN for libraries
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140528/d9f3bfe3/attachment.html>
More information about the llvm-bugs
mailing list