ldconfig should only be run for a local installation, and will fail when building as an unprivileged user. Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> --- v2: Add 'crda:' prefix to subject --- a/Makefile +++ b/Makefile @@ -132,7 +132,9 @@ install-libreg: $(NQ) ' INSTALL libreg' $(Q)mkdir -p $(DESTDIR)/$(LIBDIR) $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/ +ifndef DESTDIR $(Q)ldconfig +endif %.o: %.c regdb.h $(LIBREG) $(NQ) ' CC ' $@ -- Ben Hutchings One of the nice things about standards is that there are so many of them.
Attachment:
signature.asc
Description: This is a digitally signed message part