[Mediator] Fixed android build for Secured flag
authorJay Sharma <jay.sharma@samsung.com>
Fri, 19 Feb 2016 14:26:34 +0000 (19:56 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Sun, 21 Feb 2016 00:25:19 +0000 (00:25 +0000)
  - Added required security libraries the sconscript.

Change-Id: Id5a6cee3acf69c61fc5e49f7c8ee4da07fc50962
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5081
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/easy-setup/mediator/richsdk/SConscript

index eb4e6abc677144c6f93371f57bab3c5cfb9fd22f..b4b2d391402aff9cebbfd58099089194c6bac898 100644 (file)
@@ -78,8 +78,6 @@ if target_os == 'linux':
        easy_setup_env.AppendUnique(RPATH = [env.get('BUILD_DIR')])
        easy_setup_env.AppendUnique(CXXFLAGS = ['-pthread'])
        easy_setup_env.PrependUnique(LIBS = ['oc', 'octbstack', 'oc_logger', 'pthread', 'connectivity_abstraction'])
-       if env.get('SECURED') == '1':
-               easy_setup_env.PrependUnique(LIBS = ['ocprovision', 'ocpmapi'])
 
 if target_os in ['android','linux']:
        easy_setup_env.PrependUnique(CPPPATH = [
@@ -98,6 +96,8 @@ if target_os in ['android','linux']:
                        env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include',
                        env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include/internal',
                        env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include/oxm'])
+               easy_setup_env.PrependUnique(LIBS = ['ocprovision', 'ocpmapi'])
+
 
 ######################################################################
 # Source files and Targets