summaryrefslogtreecommitdiffstats
path: root/meta-agl-core-test/recipes-test/freetype/files/0001-ft2demos-Makefile-Do-not-hardcode-libtool-path.patch
blob: 879b80506803c23015846a54608c7405fd678034 (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
From 8c4f135619de929f9348b830a07a46a0c2c38e51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@linuxfoundation.org>
Date: Fri, 7 Oct 2016 15:26:20 +0200
Subject: [PATCH] Do not hardcode libtool path
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

It is already known and imported through config.mk.

Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
[Updated for freetype 2.10.4]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 851c4f7..c537983 100644
--- a/Makefile
+++ b/Makefile
@@ -165,7 +165,7 @@ else
 
   ifeq ($(PLATFORM),unix)
     override CC = $(CCraw)
-    LINK_CMD    = $(subst /,$(SEP),$(OBJ_BUILD)/libtool) \
+    LINK_CMD  = $(subst /,$(SEP),$(LIBTOOL)) \
                   --mode=link $(CC) \
                   $(subst /,$(COMPILER_SEP),$(LDFLAGS))
     LINK_LIBS   = $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) $(LIB_CLOCK_GETTIME)