1f3acf28e890edbbfd7d228d467cb9510fd1d2d0
[AGL/meta-agl.git] / meta-ivi-common / recipes-test / freetype / files / 0001-Makefile-dont-build-gfx-demos.patch
1 diff -urN /tmp/ft2demos-2.6.orig/Makefile /tmp/ft2demos-2.6/Makefile
2 --- ft2demos-2.6.orig/Makefile  2015-06-07 07:34:19.000000000 +0000
3 +++ ft2demos-2.6/Makefile       2016-06-17 14:25:37.640456725 +0000
4 @@ -153,7 +153,8 @@
5  
6    ifeq ($(PLATFORM),unix)
7      CC        = $(CCraw)
8 -    LINK_CMD  = $(subst /,$(SEP),$(OBJ_BUILD)/libtool) \
9 +       LIBTOOL   = $(OBJ_BUILD)/libtool
10 +    LINK_CMD  = $(subst /,$(SEP),$(LIBTOOL)) \
11                  --mode=link $(CC) \
12                  $(subst /,$(COMPILER_SEP),$(LDFLAGS))
13      LINK_LIBS = $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE))
14 @@ -279,12 +280,12 @@
15            ttdebug
16  
17    # Comment out the next line if you don't have a graphics subsystem.
18 -  EXES += ftdiff   \
19 -          ftgamma  \
20 -          ftgrid   \
21 -          ftmulti  \
22 -          ftstring \
23 -          ftview
24 +  # EXES += ftdiff   \
25 +  #         ftgamma  \
26 +  #         ftgrid   \
27 +  #         ftmulti  \
28 +  #         ftstring \
29 +  #         ftview
30  
31    # ftvalid requires ftgxval.c and ftotval.c
32    #