Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | # This patch ensures that the install operations which strip |
| 2 | # programs and libraries (LTINSTALL) work in a cross build |
| 3 | # environment. |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | |
| 5 | Upstream-Status: Pending |
| 6 | |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 7 | --- a/build/top.mk |
| 8 | +++ b/build/top.mk |
| 9 | @@ -121,7 +121,7 @@ LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | 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 |