Skip to content

Commit

Permalink
Updated wscript, with proper libraries, includes and removed svnfs
Browse files Browse the repository at this point in the history
  • Loading branch information
enmand committed Sep 6, 2011
1 parent 553b41c commit fc8f93a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ def configure(conf):
conf.check(lib='svn_fs_base-1', libpath=build_paths('lib'))
conf.check(lib='svn_fs_fs-1', libpath=build_paths('lib'))
conf.check(lib='svn_client-1', libpath=build_paths('lib'))
conf.check(lib='svn_subr-1', libpath=build_paths('lib'))
conf.check(lib='svn_repos-1', libpath=build_paths('lib'))
conf.check(lib='svn_ra-1', libpath=build_paths('lib'))


def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall"]
obj.uselib = "svn"
obj.target = "nodesvn"
obj.source = "src/svn.cc srv/svnfs.cc"
obj.source = "src/svn.cc"
obj.includes = build_paths('include') + build_paths('include/subversion-1') + build_paths('include/apr-1/')

def all(bld):
Expand Down

0 comments on commit fc8f93a

Please sign in to comment.