From 562916939e401616127e80243dba5f27c0ba0bb3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 14 Apr 2005 08:57:07 +0000 Subject: [PATCH] Add STRIP macro to allow overriding strip on make install --- servers/slapd/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 465e26f705..79751ec1e4 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -17,6 +17,7 @@ SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl PROGRAMS=slapd $(SLAPTOOLS) XPROGRAMS=sslapd libbackends.a .backend liboverlays.a XSRCS=version.c +STRIP=-s SUBDIRS=back-* shell-backends slapi overlays @@ -361,7 +362,7 @@ install-local-srv: install-slapd install-tools \ install-slapd: FORCE -$(MKDIR) $(DESTDIR)$(libexecdir) -$(MKDIR) $(DESTDIR)$(localstatedir)/run - $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \ + $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 \ slapd$(EXEEXT) $(DESTDIR)$(libexecdir) @for i in $(SUBDIRS); do \ if test -d $$i -a -f $$i/Makefile ; then \ -- 2.39.5