Search Linux Wireless

[PATCH v2 crda] crda: Do not run ldconfig if DESTDIR is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux