Commit ca5bc5ce authored by sy01.youn's avatar sy01.youn Committed by Madan Lanka

EasySetup Script files are changed to make static library.

Also mistyping is fixed in easysetup sample app.

Change-Id: I339a34a9d8eef0c69af7d9a3ba2388db073935c5
Signed-off-by: default avatarsy01.youn <sy01.youn@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12247Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarJihun Ha <jihun.ha@samsung.com>
Reviewed-by: default avatarMadan Lanka <lanka.madan@samsung.com>
parent b3bde9b3
......@@ -104,8 +104,9 @@ es_enrollee_src = None
if target_os in ['linux', 'tizen']:
es_enrollee_common_src = ['./src/easysetup.c','./src/resourcehandler.c']
enrollee_sdk_shared = enrollee_env.SharedLibrary('ESEnrolleeSDK', es_enrollee_common_src)
enrollee_env.InstallTarget(enrollee_sdk_shared, 'libESEnrollee')
enrollee_env.UserInstallTargetLib(enrollee_sdk_shared, 'libESEnrollee')
enrollee_sdk_static = enrollee_env.StaticLibrary('ESEnrolleeSDK', es_enrollee_common_src)
enrollee_env.InstallTarget([enrollee_sdk_shared, enrollee_sdk_static], 'libESEnrollee')
enrollee_env.UserInstallTargetLib([enrollee_sdk_shared, enrollee_sdk_static], 'libESEnrollee')
if target_os == 'arduino':
es_enrollee_common_src = ['./src/easysetup.c','./src/resourcehandler.c']
......
......@@ -139,7 +139,8 @@ if target_os in ['android','linux']:
env.AppendUnique(es_src = es_common_src)
es_sdk_shared = easy_setup_env.SharedLibrary('ESMediatorRich', env.get('es_src'))
easy_setup_env.InstallTarget(es_sdk_shared, 'libESMediatorRich')
es_sdk_static = easy_setup_env.StaticLibrary('ESMediatorRich', env.get('es_src'))
easy_setup_env.InstallTarget([es_sdk_shared, es_sdk_static], 'libESMediatorRich')
easy_setup_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,libESMediatorRich.so'])
print "Files path is %s" % env.get('es_src')
......
......@@ -365,7 +365,7 @@ int main()
gMainloop = g_main_loop_new (NULL, FALSE);
if(gMainloop == NULL) {
cout << "Create Min Loop Error" << endl;
cout << "Create Main Loop Error" << endl;
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment