diff options
author | Kunhoon Baik <knhoon.baik@samsung.com> | 2016-11-28 14:47:41 +0900 |
---|---|---|
committer | Kunhoon Baik <knhoon.baik@samsung.com> | 2016-11-28 14:48:41 +0900 |
commit | cb96a38a5ab014cbba868dae1a92597abffd8640 (patch) | |
tree | 88f681d0a1afb7ac68b447833c541ce19775a492 | |
parent | 0bb864d44950815f5138b7a52d650f0bb48bef3c (diff) | |
download | system-plugin-cb96a38a5ab014cbba868dae1a92597abffd8640.tar.gz system-plugin-cb96a38a5ab014cbba868dae1a92597abffd8640.tar.bz2 system-plugin-cb96a38a5ab014cbba868dae1a92597abffd8640.zip |
Remove Hardcoded Path for lib dir : use %libdir for 64bitsubmit/tizen_3.0/20161128.092418accepted/tizen/3.0/wearable/20161129.001756accepted/tizen/3.0/tv/20161129.001733accepted/tizen/3.0/mobile/20161129.001716accepted/tizen/3.0/ivi/20161129.001806accepted/tizen/3.0/common/20161129.103137
Change-Id: I6121281e34014c04f5375b13fc776d6591659e7c
-rw-r--r-- | packaging/system-plugin.spec | 3 | ||||
-rw-r--r-- | src/systemd-user-helper/systemd-user-helper.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index f16d192..fe80dd9 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -120,7 +120,8 @@ cp %{SOURCE3} . --disable-debug-mode \ --disable-eng-mode -%__make %{?jobs:-j%jobs} +%__make %{?jobs:-j%jobs} \ + CFLAGS+=-DLIBDIR=\\\"%{_libdir}\\\" %install rm -rf %{buildroot} diff --git a/src/systemd-user-helper/systemd-user-helper.c b/src/systemd-user-helper/systemd-user-helper.c index a61a90d..6ffe977 100644 --- a/src/systemd-user-helper/systemd-user-helper.c +++ b/src/systemd-user-helper/systemd-user-helper.c @@ -36,8 +36,8 @@ #define LEGACY_CONTENTS_DIR "/opt/usr/media" #define LEGACY_APPS_DIR "/opt/usr/apps" -#define LAZYMOUNT_LIB "/usr/lib/liblazymount.so.0" -#define CONTAINER_LIB "/usr/lib/security/pam_krate.so" +#define LAZYMOUNT_LIB LIBDIR"/liblazymount.so.0" +#define CONTAINER_LIB LIBDIR"/security/pam_krate.so" #define LOAD_SYMBOL(handle, sym, name) \ do { \ |