projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fef695
)
Fix for ubuntu elf linker error
author
Brenden Blanco
<bblanco@gmail.com>
Wed, 23 Aug 2017 01:31:03 +0000
(18:31 -0700)
committer
Brenden Blanco
<bblanco@gmail.com>
Fri, 25 Aug 2017 23:41:36 +0000
(16:41 -0700)
src/cc/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/cc/CMakeLists.txt
b/src/cc/CMakeLists.txt
index
72a521c
..
7a4647c
100644
(file)
--- a/
src/cc/CMakeLists.txt
+++ b/
src/cc/CMakeLists.txt
@@
-40,6
+40,7
@@
set_target_properties(bcc-shared PROPERTIES VERSION ${REVISION_LAST} SOVERSION 0
set_target_properties(bcc-shared PROPERTIES OUTPUT_NAME bcc)
add_library(bcc-loader-static STATIC ${bcc_sym_sources} ${bcc_util_sources})
+target_link_libraries(bcc-loader-static elf)
add_library(bcc-static STATIC
${bcc_common_sources} ${bcc_table_sources} ${bcc_util_sources})
set_target_properties(bcc-static PROPERTIES OUTPUT_NAME bcc)