X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build_common%2Fexternal_libs.scons;h=f1e8295b354c8944b2f0c9e75a9d459e7142a2f9;hb=29003b55c6589b291a0c34455bd08878870ae997;hp=8ab0cd43cf959cbb38186e9637395ee0a8c466e4;hpb=ed0bcb17d4860408dfb86f544da9b66ec925b2ca;p=platform%2Fupstream%2Fiotivity.git diff --git a/build_common/external_libs.scons b/build_common/external_libs.scons index 8ab0cd4..f1e8295 100644 --- a/build_common/external_libs.scons +++ b/build_common/external_libs.scons @@ -40,8 +40,9 @@ if target_os == 'darwin': # External library include files are in /deps//include # the library binaries are in /deps//lib/ -env.AppendUnique(CPPPATH = [os.path.join(env.get('SRC_DIR'), 'deps', target_os, 'include')]) -env.AppendUnique(LIBPATH = [os.path.join(env.get('SRC_DIR'), 'deps', target_os, 'lib', target_arch)]) +if target_os not in ['windows']: + env.AppendUnique(CPPPATH = [os.path.join(env.get('SRC_DIR'), 'deps', target_os, 'include')]) + env.AppendUnique(LIBPATH = [os.path.join(env.get('SRC_DIR'), 'deps', target_os, 'lib', target_arch)]) # Check whether a library exists, if not, notify user to install it or try to # download the source code and build it @@ -128,6 +129,10 @@ with_ra = env.get('WITH_RA') if with_ra: SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'raxmpp', 'SConscript')) +with_ra_ibb = env.get('WITH_RA_IBB') +if with_ra_ibb: + SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'wksxmppxep', 'SConscript')) + env.AddMethod(__prepare_lib, "PrepareLib") env.AddMethod(__configure, "Configure") @@ -136,4 +141,4 @@ env.AddMethod(__install_head_file, "InstallHeadFile") env.AddMethod(__install_lib, "InstallLib") if env.get('SECURED') == '1': - SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript')) \ No newline at end of file + SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript'))