Commit 7d29a461 authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #507 from vmg/vmg/elf-so

Explicitly list the libelf runtime dependency
parents b1472950 11d107c8
...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: elfutils-libelf
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -48,6 +48,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -48,6 +48,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: elfutils-libelf
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -8,7 +8,7 @@ Homepage: https://github.com/iovisor/bcc ...@@ -8,7 +8,7 @@ Homepage: https://github.com/iovisor/bcc
Package: libbcc Package: libbcc
Architecture: amd64 Architecture: amd64
Depends: libc6, libstdc++6 Depends: libc6, libstdc++6, libelf1
Description: Shared Library for BPF Compiler Collection (BCC) Description: Shared Library for BPF Compiler Collection (BCC)
Shared Library for BPF Compiler Collection to control BPF programs Shared Library for BPF Compiler Collection to control BPF programs
from userspace. from userspace.
......
find_package(LuaJIT) find_package(LuaJIT)
find_program(LUAJIT luajit)
if (LUAJIT_LIBRARIES) if (LUAJIT_LIBRARIES AND LUAJIT)
find_program(LUAJIT luajit)
FILE(GLOB_RECURSE SRC_LUA ${CMAKE_CURRENT_SOURCE_DIR}/bcc/*/*.lua) FILE(GLOB_RECURSE SRC_LUA ${CMAKE_CURRENT_SOURCE_DIR}/bcc/*/*.lua)
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment