Skip to content

Conversation

@itsff
Copy link

@itsff itsff commented Oct 5, 2015

Added support for $(raw_lib_list) where user can specify a list of libraries directly into the linker command. This list is assumed to already be in the format understood by the linker tool
(for example: -lSomeLib). Unlike the $(lib_list), no further massaging of the list will take place (so the -l prefix will not be added).

This is useful for including output of pkg-config tools.
For example:

raw_lib_list := $(shell llvm-config --system-libs --libs mcjit bitwriter nativecodegen interpreter)

itsff added 3 commits October 5, 2015 11:49
list of libraries directly into the linker command.
This list is assumed to already be in the format understood by
the linker tool (for example: -lSomeLib). No further massaging
of the list will take place (so the -l prefix will not be added).

This is useful for including output of pkg-config tools.
For example:
raw_lib_list := $(shell llvm-config --system-libs --libs mcjit bitwriter nativecodegen interpreter)
Copy link
Owner

@agottem agottem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just set link_flag_list with these options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants