File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11build /
22build /*
33.lock-wscript
4+ vendor /
5+ vendor /*
Original file line number Diff line number Diff line change 44[submodule "vendor/rimraf "]
55 path = vendor/rimraf
66 url = git://github.com/isaacs/rimraf.git
7+ [submodule "vendor/libgit2 "]
8+ path = vendor/libgit2
9+ url = git://github.com/libgit2/libgit2.git
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ def configure(conf):
1919 conf .check_tool ('node_addon' )
2020
2121 os .chdir ('vendor/libgit2' )
22- Popen ('python waf configure build-static ' , shell = True ).wait ()
22+ Popen ('python waf configure build-shared ' , shell = True ).wait ()
2323
24- conf .env .append_value ('LIBPATH_GIT2' , abspath ('build/static ' ))
24+ conf .env .append_value ('LIBPATH_GIT2' , abspath ('build/shared ' ))
2525 conf .env .append_value ('LIB_GIT2' , 'git2' )
2626
2727def build (bld ):
2828 obj = bld .new_task_gen ('cxx' , 'shlib' , 'node_addon' )
2929 obj .target = 'nodegit2'
3030 obj .source = 'src/base.cc src/error.cc src/reference.cc src/repo.cc src/commit.cc src/oid.cc src/revwalk.cc'
31- obj .rpath = abspath ('build/static ' )
31+ obj .rpath = abspath ('build/shared ' )
3232 obj .uselib = 'GIT2'
You can’t perform that action at this time.
0 commit comments