mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
build: Make sure to remove colliding shared libraries
The compatibility links should take over any existing installed shared library with the same soname, to avoid ldd creating stale links.
This commit is contained in:
parent
50c72367a8
commit
3987db1659
@ -769,6 +769,9 @@ libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
|||||||
|
|
||||||
install-exec-local:
|
install-exec-local:
|
||||||
for lib in `echo $(compat_libs)`; do \
|
for lib in `echo $(compat_libs)`; do \
|
||||||
|
(cd $(DESTDIR)$(libdir) && \
|
||||||
|
rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \
|
||||||
|
) ; \
|
||||||
(cd $(DESTDIR)$(libdir) && \
|
(cd $(DESTDIR)$(libdir) && \
|
||||||
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
|
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
|
||||||
{ rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
|
{ rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
|
||||||
|
Loading…
Reference in New Issue
Block a user