X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2FpcapDecoder%2FSConscript;h=e0b60ad43190446af471b2d7c059f0a51e8fd4fe;hp=ab3bc065ff49e50163a8cded010d8b33ffa1e130;hb=63c74af5519ae3db82627b9cd3b36bb2cfa3bd72;hpb=6fd8a743ddef469fef5bbd6095398188fb6fc829 diff --git a/example/diameter/pcapDecoder/SConscript b/example/diameter/pcapDecoder/SConscript index ab3bc06..e0b60ad 100644 --- a/example/diameter/pcapDecoder/SConscript +++ b/example/diameter/pcapDecoder/SConscript @@ -10,7 +10,7 @@ pPath = pName.replace("_", "/") + "/" pwd = str(Dir ('.').abspath); anna_libpaths = [] anna_libs = [] -modules = [ 'core', 'io', 'xml', 'time', 'diameter' ]; +modules = [ 'core' ]; for module in modules: anna_libs.append ("anna_" + module) #module = module.replace("_", ".") @@ -23,10 +23,15 @@ anna_rlibs.reverse() # To avoid other libraries accumulation: localEnv = env.Clone() +# Pcap resources: +localEnv.Append (CPPPATH = '/usr/include') +anna_libpaths.append ('/usr/lib64') +# # another way is to put this below: localEnv.Append(LIBPATH = [anna_libpaths, '/usr/lib64']) + anna_library = { 'LIBS' : anna_rlibs } localEnv.MergeFlags (anna_library) -system_library = { 'LIBS' : [ 'xml2', 'rt', 'pcap' ] } +system_library = { 'LIBS' : [ 'rt', 'pcap' ] } localEnv.MergeFlags (system_library) localEnv.Append(LIBPATH = anna_libpaths)