nsc: remove nsc builddir symlink
changeset 3635:cddd59578812 ('compile nsc code unconditionally')
added the nsc header files to ns-3 and fixed up the include paths,
so we no longer need to create a builddir/nsc symlink to find them.
This commit is contained in:
1 parent
2b84ef320d
commit
bf36effe22
1 file changed
+1
-5
@@ -109,11 +109,7 @@ class NscBuildTask(Task.TaskBase):
|
||||
if os.system('cd ../%s && python scons.py %s' % (NSC_DIR, dir)) != 0:
|
||||
Params.fatal("Building NSC stack failed")
|
||||
builddir = self.builddir
|
||||
if not os.path.exists(builddir + '/nsc'):
|
||||
try:
|
||||
os.symlink('../../' + NSC_DIR, builddir + '/nsc')
|
||||
except:
|
||||
Params.fatal("Error linkink " + builddir + '/nsc')
|
||||
|
||||
if not os.path.exists(builddir + '/' + soname):
|
||||
try:
|
||||
os.symlink('../../' + NSC_DIR + '/' + dir + '/' + soname, builddir + '/' + soname)
|
||||
|
||||
Reference in new issue
Block a user