summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2018-05-14 19:22:30 +0900
committerSooChan Lim <sc1.lim@samsung.com>2018-05-14 20:20:22 +0900
commita2e0c05de09545d5daccebc44c0e4e7629416936 (patch)
treeeca6c0d07964d1f19965b812422c7167529d68b4
parentcf301a67059330b3a1f737ab7f5247eeff74b73a (diff)
downloadlibtbm-vigs-a2e0c05de09545d5daccebc44c0e4e7629416936.tar.gz
libtbm-vigs-a2e0c05de09545d5daccebc44c0e4e7629416936.tar.bz2
libtbm-vigs-a2e0c05de09545d5daccebc44c0e4e7629416936.zip
add symbolic link of libtbm_vig.so at the {libdir}
This is for the non-build application which does not find the library path of the libtbm_vigs.so when the application do link the libEGL.so at the emulator(YAGL). Change-Id: I745ea1814b9f08843e2a0431560df8f062e4e956
-rw-r--r--packaging/libtbm-vigs.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/libtbm-vigs.spec b/packaging/libtbm-vigs.spec
index 261f9bd..9fc5cf1 100644
--- a/packaging/libtbm-vigs.spec
+++ b/packaging/libtbm-vigs.spec
@@ -45,6 +45,11 @@ if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
fi
ln -s libtbm_vigs.so %{_libdir}/bufmgr/libtbm_default.so
+if [ -f %{_libdir}/libtbm_vigs.so ]; then
+ rm -rf %{_libdir}/libtbm_vigs.so
+fi
+ln -s bufmgr/libtbm_vigs.so %{_libdir}/libtbm_vigs.so
+
%postun -p /sbin/ldconfig
%files