[LLVMbugs] [Bug 11537] New: llvm-config --ld-flags does not give the correct library path

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 11 07:05:00 PST 2011


             Bug #: 11537
           Summary: llvm-config --ld-flags does not give the correct
                    library path
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lucas at treffenstaedt.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 7712
  --> http://llvm.org/bugs/attachment.cgi?id=7712
llvm configure log

When using llvm-config --ldflags, the program returns -L/usr/lib instead of the
correct location of the llvm libraries (/usr/lib/llvm in my case).
According to baldrick, this may be due to llvm-config assuming the libs would
be install under --prefix, rather than --libdir.

Attached is the config.log from my llvm build.

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.

More information about the llvm-bugs mailing list