projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d14b2f
)
bcc-lua: Build as a C executable
author
Vicent Marti
<tanoku@gmail.com>
Sat, 30 Apr 2016 11:37:09 +0000
(13:37 +0200)
committer
Vicent Marti
<tanoku@gmail.com>
Sat, 30 Apr 2016 12:19:40 +0000
(14:19 +0200)
src/lua/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/lua/CMakeLists.txt
b/src/lua/CMakeLists.txt
index
4f9de3f
..
fd9701d
100644
(file)
--- a/
src/lua/CMakeLists.txt
+++ b/
src/lua/CMakeLists.txt
@@
-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)