1 diff -uNr xen-3.4.3.orig/tools/flask/libflask/Makefile xen-3.4.3/tools/flask/libflask/Makefile
2 --- xen-3.4.3.orig/tools/flask/libflask/Makefile 2010-06-03 19:42:29.000000000 +0200
3 +++ xen-3.4.3/tools/flask/libflask/Makefile 2011-01-21 13:01:57.000000000 +0100
6 # Get gcc to generate the dependencies for us.
7 CFLAGS += -Wp,-MD,.$(@F).d
9 +LDFLAGS += -L. -L../../libxc -lxenctrl
11 LIB_OBJS := $(patsubst %.c,%.o,$(SRCS))
12 PIC_OBJS := $(patsubst %.c,%.opic,$(SRCS))
13 diff -uNr xen-3.4.3.orig/tools/libfsimage/common/Makefile xen-3.4.3/tools/libfsimage/common/Makefile
14 --- xen-3.4.3.orig/tools/libfsimage/common/Makefile 2010-06-03 19:42:31.000000000 +0200
15 +++ xen-3.4.3/tools/libfsimage/common/Makefile 2011-01-21 13:05:34.290513274 +0100
19 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
20 -LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU
21 +LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU -ldl
22 LDFLAGS = $(LDFLAGS-y)
24 LIB_SRCS-y = fsimage.c fsimage_plugin.c fsimage_grub.c