From f8a3bc0509abe61ce97b4ea7a5fee53001ac7618 Mon Sep 17 00:00:00 2001 From: Clark Rawlins Date: Sun, 14 Dec 2014 09:03:42 -0800 Subject: [PATCH] To resolve the symbol XOpenDisplay link with libX11 When building the timeoutd binary the linker was not finding the XOpenDisplay symbol. By linking with libX11 the missing symbol is found Signed-off-by: Clark Rawlins --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa3b56e..0cdcabd 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall timeoutd: timeoutd.c Makefile #$(CC) $(CFLAGS) -o timeoutd timeoutd.c $(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11 - $(CC) $(CFLAGS) -o timeoutd -L/usr/X11R6/lib timeoutd.o -lXss -lXext + $(CC) $(CFLAGS) -o timeoutd -L/usr/X11R6/lib timeoutd.o -lXss -lXext -lX11 install: