Fix DSO linker (ld) changes with -lX11 -lXent

In recent versions of ld which now requires strict dynamic linker object
rules, we must tell the linker which libraries to explicitly link against.

This affects our use of X11, so link against that.
This commit is contained in:
Thomas Adam 2011-02-27 12:31:42 +00:00 committed by Hannes Schueller
parent dd724ac913
commit 0c40d0772b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ INSTALL = $(BINDIR)/$(TARGET) $(addprefix $(MANDIR)/man1/,$(MAN))
V_DEBUG = 0
CFLAGS += `pkg-config --cflags $(LIBS)`
LDFLAGS += `pkg-config --libs $(LIBS)`
LDFLAGS += `pkg-config --libs $(LIBS)` -lX11 -lXext
# TA: This is a pretty stringent list of warnings to bail on!
ifeq ($(V_DEBUG),1)