creationix / seaduk

An implementation of nucleus-js using duktape and libuv implemented in C
Other
34 stars 5 forks source link

add functionality to Makefile to build static+shared library versions #6

Closed FreshXOpenSource closed 8 years ago

FreshXOpenSource commented 8 years ago

To use the seaduk version in external products it is needed, that core functions are build as libraries. The patched Makefile can now (depending on flags)

To control the buildprocess you can set in the Makefile :

LIBUV=deps/libuv (default)

LIBUV=system

LIBUV=pkg-config

BUILDTYPE=static (default)

BUILDTYPE=shared

Tested on Redhat EL7 (gcc), Darwin (clang)