Mercurial > mplayer.hg
comparison libdha/Makefile @ 17964:2a85c470cbd0
Discard return value from ldconfig, it might not work on non-root installs.
author | diego |
---|---|
date | Sun, 26 Mar 2006 21:17:14 +0000 |
parents | c127ce678083 |
children | b069afd2a0de |
comparison
equal
deleted
inserted
replaced
17963:c15d5f06de5d | 17964:2a85c470cbd0 |
---|---|
85 mkdir -p $(LIBDIR) | 85 mkdir -p $(LIBDIR) |
86 install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME) | 86 install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME) |
87 rm -f $(LIBDIR)/libdha.so | 87 rm -f $(LIBDIR)/libdha.so |
88 ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME) | 88 ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME) |
89 ifeq ($(TARGET_OS),OpenBSD) | 89 ifeq ($(TARGET_OS),OpenBSD) |
90 ldconfig -R | 90 -ldconfig -R |
91 else | 91 else |
92 ldconfig | 92 -ldconfig |
93 endif | 93 endif |
94 | 94 |
95 uninstall: | 95 uninstall: |
96 rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME) | 96 rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME) |
97 ifeq ($(TARGET_OS),OpenBSD) | 97 ifeq ($(TARGET_OS),OpenBSD) |
98 ldconfig -R | 98 -ldconfig -R |
99 else | 99 else |
100 ldconfig | 100 -ldconfig |
101 endif | 101 endif |
102 | 102 |
103 # | 103 # |
104 # include dependency files if they exist | 104 # include dependency files if they exist |
105 # | 105 # |