commit
e213769216
|
@ -27,7 +27,7 @@ LOG("headers: ");
|
|||
for k, v in pairs(headers or {}) do
|
||||
LOG(" " .. k .. ": " .. v);
|
||||
end
|
||||
LOG("body length: " .. string.length(body));
|
||||
LOG("body length: " .. string.len(body));
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@ else()
|
|||
add_library(lua ${SOURCE})
|
||||
endif()
|
||||
|
||||
# Tell Lua what dynamic loader to use (for LuaRocks):
|
||||
if (UNIX)
|
||||
add_definitions(-DLUA_USE_DLOPEN)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(lua m ${DYNAMIC_LOADER})
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue