Commit 34cbbfe5 authored by 4ast's avatar 4ast Committed by GitHub

Merge pull request #1237 from iovisor/yhs_dev

Fix bcc.lua build issue in Ubuntu 17.04
parents 96c1b8e0 08c82535
......@@ -24,7 +24,7 @@ if (LUAJIT_LIBRARIES AND LUAJIT)
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)
target_link_libraries(bcc-lua -fno-pie)
target_link_libraries(bcc-lua -no-pie)
install(TARGETS bcc-lua RUNTIME DESTINATION bin)
endif()
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