Fix build error for broker and cache.
authorjyong2.kim <jyong2.kim@samsung.com>
Thu, 16 Jul 2015 08:29:41 +0000 (17:29 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 16 Jul 2015 09:40:23 +0000 (09:40 +0000)
Change-Id: I29c19515a5b175153d69c95c7e52b2656b7cfd99
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1689
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/resource-manipulation/src/resourceBroker/SConscript
service/resource-manipulation/src/resourceCache/SConscript

index 10099b265b382e18e71e32592a5aa92d11c973cf..1cf3ae6f59aa46571d90d4ed30f58db831c8ab28 100755 (executable)
@@ -73,6 +73,7 @@ else :
     resourcebrokersdk = resourcebroker_env.StaticLibrary('ResourceBroker', resourcebroker_src)
 
 resourcebroker_env.InstallTarget(resourcebrokersdk, 'libResouceBroker')
+resourcebroker_env.UserInstallTargetLib(resourcebrokersdk, 'libResouceBroker')
 
 # Go to build sample apps
 #SConscript('SampleApp/SConscript')
index 4b1eac388f4b2bb6856e112960186d9fc7dffa89..d3b229624a690927342b410a2c145d19d8e1292c 100644 (file)
@@ -48,7 +48,7 @@ resourcecache_env.AppendUnique(CPPPATH = ['../common/expiryTimer/src'])
 resourcecache_env.PrependUnique(LIBS = ['service_common', 'ExpiryTimer', 'oc', 'octbstack', 'oc_logger', 'connectivity_abstraction', 'libcoap'])
 
 if target_os not in ['windows', 'winrt']:
-       resourcecache_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++11'])
+       resourcecache_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])
 
 if target_os == 'linux':
        resourcecache_env.AppendUnique(LIBS = ['pthread'])
@@ -65,6 +65,7 @@ resourcecache_src = [
 resourcecachesdk = resourcecache_env.StaticLibrary('ResourceCache', resourcecache_src)
 
 resourcecache_env.InstallTarget(resourcecachesdk, 'libResouceCache')
+resourcecache_env.UserInstallTargetLib(resourcecachesdk, 'libResouceCache')
 
 # Go to build sample apps
 #SConscript('SampleApp/SConscript')