From 6aac28f11de6043d83d27cd34d41d65c3c69b82c Mon Sep 17 00:00:00 2001 From: Andrea Seraghiti Date: Mon, 29 Dec 2014 11:57:17 +0100 Subject: [PATCH 1/2] update submodule and linker dependency --- .gitmodules | 4 ++-- README.md | 10 ++++++++++ duktape.cmake | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 0d9dc45..ee6c1f3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "lib/uv"] - url = https://github.com/joyent/libuv.git - ref = refs/heads/v1.x + url =https://github.com/libuv/libuv.git + ref = refs/tags/v1.1.0 path = lib/uv [submodule "lib/duktape"] url = https://github.com/svaarala/duktape-releases.git diff --git a/README.md b/README.md index 644067d..1291a15 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,13 @@ LibUV bindings for duktape JS engine The goal of this project is to make a node.js-like environment that's ultra lean for tiny devices. + + +Building istructions +-------------------- + +git submodule update --init --recursive +mkdir build +cd build +cmake .. +make diff --git a/duktape.cmake b/duktape.cmake index e5148a7..71ad353 100644 --- a/duktape.cmake +++ b/duktape.cmake @@ -9,5 +9,7 @@ add_library(duktape STATIC ${DUKTAPEDIR}/src/duktape.c) if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") target_link_libraries(duktape m + dl + rt ) endif() From 696bbceecc4569cc01848269982cca6e14e7db4a Mon Sep 17 00:00:00 2001 From: serra82 Date: Mon, 29 Dec 2014 12:07:24 +0100 Subject: [PATCH 2/2] readme updated --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 1291a15..ecee519 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,7 @@ The goal of this project is to make a node.js-like environment that's ultra lean -Building istructions --------------------- +### Building instructions git submodule update --init --recursive mkdir build