diff -rupN --no-dereference libimagequant-2.13.1/Makefile libimagequant-2.13.1-new/Makefile --- libimagequant-2.13.1/Makefile 2020-11-22 14:18:54.000000000 +0100 +++ libimagequant-2.13.1-new/Makefile 2020-11-22 16:10:02.894988747 +0100 @@ -114,7 +114,7 @@ install: all $(PKGCONFIG) install -d $(DESTDIR)$(PKGCONFIGDIR) install -d $(DESTDIR)$(INCLUDEDIR) install -m 644 $(STATICLIB) $(DESTDIR)$(LIBDIR)/$(STATICLIB) - install -m 644 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER) + install -m 755 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER) ln -sf $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIB) install -m 644 $(PKGCONFIG) $(DESTDIR)$(PKGCONFIGDIR)/$(PKGCONFIG) install -m 644 libimagequant.h $(DESTDIR)$(INCLUDEDIR)/libimagequant.h