Mercurial > hg > audiodb
changeset 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 | 881378d8309d |
children | 365d3c500ef3 |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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)