summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch
blob: a8a4dcd4f6f4809bb7610e006e1dcaaa8e67ba5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Status: Inappropriate [embedded specific]

For cross environment, it not possible to run the generated executable.
nstead use the build version of libtool to generate the man pages. 

Date: 2010/07/09
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>

Index: libtool-2.2.10/Makefile.am
===================================================================
--- libtool-2.2.10.orig/Makefile.am
+++ libtool-2.2.10/Makefile.am
@@ -337,7 +337,7 @@ update_mans = \
   PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \
   $(HELP2MAN) --output=$@
 $(srcdir)/doc/libtool.1: $(srcdir)/$(auxdir)/ltmain.sh
-	$(update_mans) --help-option=--help-all libtool
+	$(update_mans) --help-option=--help-all ${build_alias}-libtool
 $(srcdir)/doc/libtoolize.1: $(srcdir)/libtoolize.in
 	$(update_mans) libtoolize