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