X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fhttp%2FxmlClient%2FSConscript;h=c7b411b12902a6f6b3aee35ef8d2824d78d82b1b;hb=28cfa5b682f5869e0df66af867eacb3c433d4b68;hp=2f9ac83955fa8d68e887d7b44ce68be0e12ef399;hpb=4e12ac57e93c052f716a6305ad8fc099c45899d1;p=anna.git diff --git a/example/http/xmlClient/SConscript b/example/http/xmlClient/SConscript index 2f9ac83..c7b411b 100644 --- a/example/http/xmlClient/SConscript +++ b/example/http/xmlClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_xmlClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ @@ -18,13 +20,13 @@ anna_rlibs = list(anna_libs) anna_rlibs.reverse() # Libraries ############################################################### -# To avoid other libraries accumulation (boost testing, i.e.): +# To avoid other libraries accumulation: localEnv = env.Clone() anna_library = { 'LIBS' : anna_rlibs } localEnv.MergeFlags (anna_library) -system_library = { 'LIBS' : [ 'xml2', 'rt' ] } +system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] } localEnv.MergeFlags (system_library) localEnv.Append(LIBPATH = anna_libpaths)