Merge "Added so file path for aarch64 and x86_64." into tizen
authorMyoungJune Park <mj2004.park@samsung.com>
Tue, 29 Nov 2016 04:13:21 +0000 (20:13 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 29 Nov 2016 04:13:22 +0000 (20:13 -0800)
1  2 
packaging/capi-system-system-settings.spec
src/system_setting_platform.c

  #define SETTING_TIME_SHARE_LOCAL_PATH "/usr/share/locale"
  #define SETTING_TZONE_SYMLINK_PATH            "/opt/etc/localtime"
  
 +
 +#define __FREE(del, arg) do { \
 +              if (arg) { \
 +                      del((void *)(arg)); /*cast any argument to (void*) to avoid build warring*/\
 +                      arg = NULL; \
 +              } \
 +      } while (0);
 +#define FREE(arg) __FREE(free, arg)
 +
+ #ifdef SETTING_ARCH_64
+ #define SETTING_UTILS_SO_FILE_PATH "/usr/lib64/libsystem-settings-util.so.0.1.0"
+ #else
+ #define SETTING_UTILS_SO_FILE_PATH "/usr/lib/libsystem-settings-util.so.0.1.0"
+ #endif
  
  int _is_file_accessible(const char *path);