Commit 602c5056 authored by Vicent Marti's avatar Vicent Marti

bcc-lua: Build as a C executable

parent 6d14b2f6
......@@ -18,6 +18,7 @@ if (LUAJIT_LIBRARIES AND LUAJIT)
include_directories(${LUAJIT_INCLUDE_DIR})
add_executable(bcc-lua src/main.c bcc.o)
set_target_properties(bcc-lua PROPERTIES LINKER_LANGUAGE C)
target_link_libraries(bcc-lua ${LUAJIT_LIBRARIES})
target_link_libraries(bcc-lua -Wl,--whole-archive bcc-static -Wl,--no-whole-archive)
......
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