Patchwork [3/6] pixman: disable gtk

login
register
mail settings
Submitter Gerd Hoffmann
Date Nov. 13, 2012, 8:42 a.m.
Message ID <1352796133-956-4-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/198562/
State New
Headers show

Comments

Gerd Hoffmann - Nov. 13, 2012, 8:42 a.m.
gtk isn only needed to build test cases.
Disable it to simplify the build.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Peter Maydell - Nov. 13, 2012, 6:27 p.m.
On 13 November 2012 08:42, Gerd Hoffmann <kraxel@redhat.com> wrote:
> gtk isn only needed to build test cases.

Since we're going to get a v2 of this patch set, you could
correct the typo here: s/isn/is/.

> Disable it to simplify the build.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

-- PMM

Patch

diff --git a/Makefile b/Makefile
index 7b267c9..0d2ce50 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@  subdir-pixman: pixman/Makefile
 	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
 
 pixman/Makefile: $(SRC_PATH)/pixman/configure
-	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-shared --enable-static)
+	(cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static)
 
 $(SRC_PATH)/pixman/configure:
 	(cd $(SRC_PATH)/pixman; autoreconf -v --install)