X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build_common%2Fexternal_libs.scons;h=06d3e0fdb397e8365cee9301dc7a577717f24532;hb=3a91119f6e335b8546981186da6f58a7712ef3b3;hp=2e28220926744c4144bdb2f572791a95d3e83255;hpb=7bdacebcbffbed2159437c2815f6e0c70350c1b2;p=platform%2Fupstream%2Fiotivity.git diff --git a/build_common/external_libs.scons b/build_common/external_libs.scons index 2e28220..06d3e0f 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 @@ -139,5 +140,5 @@ env.AddMethod(__download, "Download") env.AddMethod(__install_head_file, "InstallHeadFile") env.AddMethod(__install_lib, "InstallLib") -if env.get('SECURED') == '1': +if env.get('SECURED') == '1' and target_os != 'tizen': SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript'))