http://llvm.org/bugs/show_bug.cgi?id=8564
Summary: On Mac OS libLLVM-2.9svn.dylib is linked to be used by
tools only
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: System Library
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I configured llvm with --prefix=/opt/local/llvm
But dylib is linked with -Wl,"@executable_path/../lib/libLLVM-2.9svn.dylib"
And the way how things are on Mac OS gcc option -L/opt/local/llvm/lib doesn't
override this path @executable_path/../lib/libLLVM-2.9svn.dylib encoded into
the library itself. So the resulting libLLVM-2.9svn.dylib is only usable by
LLVM tools from under /opt/local/llvm. Other executables linked against it fail
to find @executable_path/../lib/libLLVM-2.9svn.dylib.
Linker command should be modified: @executable_path/../lib/libLLVM-2.9svn.dylib
should be replaced with <path-from-configured-prefix>/lib/libLLVM-2.9svn.dylib
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs