Skip to content

Commit f41e873

Browse files
committed
Updated build script
1 parent 7d074ae commit f41e873

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎wscript‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ def configure(conf):
1717
Popen('git submodule init vendor/libgit2', shell=True).wait()
1818
Popen('git submodule update vendor/libgit2', shell=True).wait()
1919
os.chdir('vendor/libgit2')
20-
Popen('python waf configure build-shared', shell=True).wait()
20+
Popen('python waf configure build-shared install', shell=True).wait()
2121

2222
def build(bld):
23-
curdir = os.getcwd()
24-
os.chdir('vendor/libgit2')
25-
Popen('python waf install', shell=True).wait()
26-
os.chdir(curdir)
2723
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
2824
obj.target = 'git2'
2925
obj.rpath = '/usr/local/lib:vendor/libgit2/build/shared'

0 commit comments

Comments
 (0)