diff Makefile @ 617:5240e74a0607

added an escape around ldconfig for darwin systems (macosx) in the install as ldconfig doesn't exist on these systems and as near as I can tell it's functionality isn't necessary when building dylibs, at least as used here.
author map01bf
date Mon, 14 Sep 2009 16:06:02 +0000
parents 2086515cdeea
children 72810ed81817
line wrap: on
line diff
--- a/Makefile	Fri Sep 04 13:47:13 2009 +0000
+++ b/Makefile	Mon Sep 14 16:06:02 2009 +0000
@@ -107,7 +107,9 @@
 install: $(EXECUTABLE).pc
 	mkdir -m755 -p $(LIBDIR)/pkgconfig $(BINDIR) $(INCLUDEDIR) $(MANDIR)/man1
 	install -m644 $(LIBRARY) $(LIBDIR)
+ifneq ($(shell uname),Darwin)
 	ldconfig -n $(LIBDIR)
+endif
 	ln -s $(LIBRARY) $(LIBDIR)/lib$(EXECUTABLE).so
 	install -m755 $(EXECUTABLE) $(BINDIR)
 	install -m644 audioDB_API.h $(INCLUDEDIR)