Skip to content

llvm-config --ld-flags does not give the correct library path #11909

@llvmbot

Description

@llvmbot
Bugzilla Link 11537
Resolution WORKSFORME
Resolved on May 15, 2012 15:29
Version unspecified
OS Linux
Attachments llvm configure log
Reporter LLVM Bugzilla Contributor

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions