From c7d62d74bbd6e0067f511fd910b9e633576befb7 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 25 Jan 2009 19:19:01 -0200 Subject: [PATCH] Explicitly add libxorg_la_LIBADD to libxorg_la_DEPENDENCIES Otherwise, for example, when hacking config/*.c, it is required to run make clean on that directory, to ensure the proper libconfig.a will be linked in the generated Xorg binary. --- hw/xfree86/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am index 56f83d9b3..b6a534b2f 100644 --- a/hw/xfree86/Makefile.am +++ b/hw/xfree86/Makefile.am @@ -48,6 +48,8 @@ libxorg_la_LIBADD = \ $(top_builddir)/os/libos.la \ @XORG_LIBS@ +libxorg_la_DEPENDENCIES = $(libxorg_la_LIBADD) + libxorg.c xorg.c: touch $@