add symbolic link of libtbm_vig.so at the {libdir}
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 14 May 2018 10:22:30 +0000 (19:22 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 14 May 2018 11:20:22 +0000 (20:20 +0900)
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

packaging/libtbm-vigs.spec

index 261f9bd..9fc5cf1 100644 (file)
@@ -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