forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
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