Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bpftrace
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bpftrace
Commits
70c9c12d
Commit
70c9c12d
authored
Nov 14, 2018
by
Matheus Marchini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix linking against monolithic LLVM
Fixes:
https://github.com/iovisor/bpftrace/issues/251
parent
21bc520c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ast/CMakeLists.txt
src/ast/CMakeLists.txt
+1
-2
No files found.
src/ast/CMakeLists.txt
View file @
70c9c12d
...
...
@@ -36,7 +36,7 @@ if (STATIC_LINKING)
target_link_libraries
(
ast
${
clang_libs
}
)
target_link_libraries
(
ast
${
llvm_libs
}
)
else
()
find_library
(
found_LLVM LLVM
)
find_library
(
found_LLVM LLVM
HINTS
${
LLVM_LIBRARY_DIRS
}
)
if
(
found_LLVM
)
target_link_libraries
(
ast LLVM
)
else
()
...
...
@@ -44,6 +44,5 @@ else()
llvm_expand_dependencies
(
llvm_libs
${
_llvm_libs
}
)
target_link_libraries
(
ast
${
llvm_libs
}
)
endif
()
target_link_libraries
(
ast libclang
)
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment