meta-agl-core-test: Fix freetype-demos build
[AGL/meta-agl.git] / meta-agl-core-test / recipes-test / freetype / files / 0001-ft2demos-Makefile-Do-not-hardcode-libtool-path.patch
1 From 8c4f135619de929f9348b830a07a46a0c2c38e51 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@linuxfoundation.org>
3 Date: Fri, 7 Oct 2016 15:26:20 +0200
4 Subject: [PATCH] Do not hardcode libtool path
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 It is already known and imported through config.mk.
10
11 Upstream-Status: Inappropriate [embedded specific]
12 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
13 [Updated for freetype 2.10.4]
14 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 ---
16  Makefile | 2 +-
17  1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/Makefile b/Makefile
20 index 851c4f7..c537983 100644
21 --- a/Makefile
22 +++ b/Makefile
23 @@ -165,7 +165,7 @@ else
24  
25    ifeq ($(PLATFORM),unix)
26      override CC = $(CCraw)
27 -    LINK_CMD    = $(subst /,$(SEP),$(OBJ_BUILD)/libtool) \
28 +    LINK_CMD  = $(subst /,$(SEP),$(LIBTOOL)) \
29                    --mode=link $(CC) \
30                    $(subst /,$(COMPILER_SEP),$(LDFLAGS))
31      LINK_LIBS   = $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) $(LIB_CLOCK_GETTIME)