Skip to content

Commit

Permalink
bcc-lua: Build as a C executable
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed Apr 30, 2016
1 parent 6d14b2f commit 602c505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 602c505

Please sign in to comment.