# This patch ensures that the install operations which strip
|
# programs and libraries (LTINSTALL) work in a cross build
|
# environment.
|
|
Upstream-Status: Pending
|
|
--- a/build/top.mk
|
+++ b/build/top.mk
|
@@ -121,7 +121,7 @@ LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD)
|
LTLINK_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=link \
|
$(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
|
|
-LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
+LTINSTALL = STRIPPROG="" $(LIBTOOL) --mode=install $(top_srcdir)/contrib/ldapc++/install-sh -c
|
LTFINISH = $(LIBTOOL) --mode=finish
|
|
# Misc UNIX commands used in build environment
|