Skip to content

Commit

Permalink
Package static archives, closes iovisor#1938
Browse files Browse the repository at this point in the history
This should help embed libbcc into bpftrace:

* bpftrace/bpftrace#342

As well as other tools like ebpf_exporter, so that there is no longer
a requirement to have a particular version libbcc installed.
  • Loading branch information
bobrik authored and yonghong-song committed Jan 2, 2020
1 parent 15d6b01 commit dc336aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ if(LIBBPF_FOUND)
install(TARGETS bcc-shared-no-libbpf LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()

install(TARGETS bcc-shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS bcc-shared bcc-static bcc-loader-static bpf-static LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${bcc_table_headers} DESTINATION include/bcc)
install(FILES ${bcc_api_headers} DESTINATION include/bcc)
install(DIRECTORY ${libbpf_uapi} DESTINATION include/bcc/compat/linux FILES_MATCHING PATTERN "*.h")
Expand Down

0 comments on commit dc336aa

Please sign in to comment.