blob: b59db3939e32d6ea3b0912fa5674f0757b568956 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# This patch ensures that the install operations which strip
2# programs and libraries (LTINSTALL) work in a cross build
3# environment.
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004
5Upstream-Status: Pending
6
Andrew Geissler97771a32021-03-05 15:23:11 -06007--- a/build/top.mk
8+++ b/build/top.mk
9@@ -121,7 +121,7 @@ LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010 LTLINK_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=link \
11 $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
12
13-LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
14+LTINSTALL = STRIPPROG="" $(LIBTOOL) --mode=install $(top_srcdir)/contrib/ldapc++/install-sh -c
15 LTFINISH = $(LIBTOOL) --mode=finish
16
17 # Misc UNIX commands used in build environment