Fix bug980: nsc library not detected default tip
authorSam Jansen <sam.jansen@gmail.com>
Wed, 22 Sep 2010 12:53:16 -0700
changeset 31 4f638e1c45cb
parent 30 a27797fe2367
Fix bug980: nsc library not detected
build.py
--- a/build.py	Tue Jun 30 14:36:14 2009 +0100
+++ b/build.py	Wed Sep 22 12:53:16 2010 -0700
@@ -10,8 +10,10 @@
 
 def build_nsc():
     # XXX: Detect gcc major version(s) available to build supported stacks
-    for kernel in ['linux-2.6.18', 'linux-2.6.26']:
-        run_command(['python', 'scons.py', kernel])
+    #  - we could just issue "python scons.py" and have NSC decide what it can
+    #    build. This might be more sane?
+    kernels = ['liblinux2.6.18.so', 'liblinux2.6.26.so']
+    run_command(['python', 'scons.py'] + kernels)
     
 
 def build_ns3(config):