aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openldap/openldap/install-strip.patch
blob: b59db3939e32d6ea3b0912fa5674f0757b568956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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