build: Adjust order of link flags
The previous order of flags (unintentionally) had `-lboost_log` flag
specified before `-lndn-cxx`. Incidentally, the order adjustment avoids
a symbol collision between the two libraries that prevented nfd-status
and nfdc from working on Ubuntu 14.04. A proper fix will follow (see #2859).
Change-Id: I68a5d37b013c1bf91b25e707a04ab1f66298a7f4
Refs: #3650
diff --git a/tools/wscript b/tools/wscript
index 1f99ef6..ee1909e 100644
--- a/tools/wscript
+++ b/tools/wscript
@@ -11,7 +11,7 @@
bld(features=['cxx', 'cxxprogram'],
target="../bin/%s" % name,
source=[i] + bld.path.ant_glob(['%s/**/*.cpp' % name]),
- use='ndn-cxx core-objects LIBRESOLV BOOST'
+ use='core-objects NDN_CXX BOOST LIBRESOLV'
)
# List all directories files (tool can has multiple .cpp in the directory)
@@ -21,7 +21,7 @@
bld(features=['cxx', 'cxxprogram'],
target="../bin/%s" % name,
source=srcFiles,
- use='ndn-cxx core-objects LIBRESOLV BOOST',
+ use='core-objects NDN_CXX BOOST LIBRESOLV',
includes='%s' % name,
)