summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-networking/recipes-support/ndisc6/ndisc6/0001-autogen-Do-not-symlink-gettext.h-from-build-host.patch
blob: eeae5326d90ae258f0ad96ecd3b1f97a415b8e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 1ee2c998933c4a3d7e7b386352cbdb12f270774c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 6 Sep 2017 20:50:48 -0700
Subject: [PATCH] autogen: Do not symlink gettext.h from build host

This will create a dependency on build host having gettext
installed which may not always be the case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Inappropriate [Cross-compile specific]
 autogen.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 3371011..bbc7add 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -25,12 +25,6 @@ echo "Running autoreconf ..."
 autoreconf -sfi
 unlink po/Makevars.template
 
-for d in /usr /usr/local /opt/gettext /usr/pkg $HOME ; do
-	if test -f $d/share/gettext/gettext.h ; then
-		ln -sf $d/share/gettext/gettext.h include/gettext.h
-	fi
-done
-
 test -f "include/gettext.h" || {
 echo "Error: can't find <gettext.h> convenience C header."
 echo "Please put a link to it by hand as include/gettext.h"
-- 
2.14.1

OpenPOWER on IntegriCloud