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:
parent
dd724ac913
commit
0c40d0772b
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue