From 106f4efc173aba70b174570d6e577567408e15ad Mon Sep 17 00:00:00 2001 From: bebopagogo Date: Sat, 29 Feb 2020 23:51:10 -0500 Subject: [PATCH] wscript improvements --- wscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 92af1ba..d7f6894 100644 --- a/wscript +++ b/wscript @@ -82,7 +82,6 @@ def build(ctx): use = ctx.env.USE_BUILD_NORM + ctx.env.USE_BUILD_PROTOLIB, source = ['src/common/{0}.cpp'.format(x) for x in [ 'galois', - 'normApi', 'normEncoder', 'normEncoderMDP', 'normEncoderRS16', @@ -105,7 +104,7 @@ def build(ctx): use = ['protoObjs', 'normObjs'], defines = ['NORM_USE_DLL'] if 'windows' == system else [], vnum = VERSION, - source = [], + source = ['src/common/normApi.cpp'], features = 'cxx cxxshlib', install_path = '${LIBDIR}', ) @@ -117,7 +116,7 @@ def build(ctx): export_includes = ['include'], use = ['protoObjs', 'normObjs'], vnum = VERSION, - source = [], + source = ['src/common/normApi.cpp'], features = 'cxx cxxstlib', install_path = '${LIBDIR}', )