diff options
author | Vladislav Andresov <v.andresov@partner.samsung.com> | 2018-06-22 21:42:25 +0300 |
---|---|---|
committer | Vladislav Andresov <v.andresov@partner.samsung.com> | 2018-06-22 21:45:00 +0300 |
commit | a0c008e3a304a4cc6883e60081ed1b1e547f681f (patch) | |
tree | 8cb8b7b133a08f8e7e1bc13f9fc6cd1e365d52eb | |
parent | 271b9182db9051ea94d175f4e6d58b4fdaf0fed1 (diff) | |
download | libtbm-vigs-a0c008e3a304a4cc6883e60081ed1b1e547f681f.tar.gz libtbm-vigs-a0c008e3a304a4cc6883e60081ed1b1e547f681f.tar.bz2 libtbm-vigs-a0c008e3a304a4cc6883e60081ed1b1e547f681f.zip |
add symlinks with version number into {libdir}
A correct initializing the coregl requires of dynamic
loading the libtbm_vigs.so.0 from default library path.
Change-Id: Ia754d3a6f1e4913f9c6b1b748a052853c32d7e3a
Signed-off-by: Vladislav Andresov <v.andresov@partner.samsung.com>
-rw-r--r-- | packaging/libtbm-vigs.spec | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/libtbm-vigs.spec b/packaging/libtbm-vigs.spec index 77939a8..919a1ce 100644 --- a/packaging/libtbm-vigs.spec +++ b/packaging/libtbm-vigs.spec @@ -50,6 +50,16 @@ if [ -f %{_libdir}/libtbm_vigs.so ]; then fi ln -s bufmgr/libtbm_vigs.so %{_libdir}/libtbm_vigs.so +if [ -f %{_libdir}/libtbm_vigs.so.0 ]; then + rm -rf %{_libdir}/libtbm_vigs.so.0 +fi +ln -s %{_libdir}/bufmgr/libtbm_vigs.so.0 %{_libdir}/libtbm_vigs.so.0 + +if [ -f %{_libdir}/libtbm_vigs.so.0.0.0 ]; then + rm -rf %{_libdir}/libtbm_vigs.so.0.0.0 +fi +ln -s %{_libdir}/bufmgr/libtbm_vigs.so.0.0.0 %{_libdir}/libtbm_vigs.so.0.0.0 + %postun -p /sbin/ldconfig %files |