comparison nodejs/wscript @ 1094:613a7caa9bd6

Dynamic link libmbfly.so against nodejs plugin
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 04 Dec 2010 12:40:04 +0800
parents 60e7e666a573
children
comparison
equal deleted inserted replaced
1092:e9f617b21db1 1094:613a7caa9bd6
30 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') 30 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon')
31 obj.target = 'mbfly' 31 obj.target = 'mbfly'
32 obj.source = 'font.cc image_ldr.cc' 32 obj.source = 'font.cc image_ldr.cc'
33 obj.add_objects = 'njs_mb_supp.o observer.o coord.o mbfly_njs.o ' + \ 33 obj.add_objects = 'njs_mb_supp.o observer.o coord.o mbfly_njs.o ' + \
34 'shapes.o paints.o' 34 'shapes.o paints.o'
35 obj.staticlib = 'mbfly' 35 obj.lib = 'mbfly'
36 36
37 for src in 'observer.cc coord.cc mbfly_njs.cc shapes.cc paints.cc'.split(): 37 for src in 'observer.cc coord.cc mbfly_njs.cc shapes.cc paints.cc'.split():
38 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') 38 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon')
39 obj.target = src[:-3] + '.o' 39 obj.target = src[:-3] + '.o'
40 obj.source = src 40 obj.source = src