wmcliphist: Add X11 build flags; otherwise wmcliphist fails to build.
This commit is contained in:
parent
eef9ca3907
commit
3a4d0d4147
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
INCLUDES = `pkg-config --cflags gtk+-2.0` -I. -Ifoodock
|
INCLUDES = `pkg-config --cflags gtk+-2.0 x11` -I. -Ifoodock
|
||||||
|
|
||||||
# for normal use
|
# for normal use
|
||||||
CFLAGS += -Wall -ansi -pedantic $(INCLUDES)
|
CFLAGS += -Wall -ansi -pedantic $(INCLUDES)
|
||||||
|
@ -12,7 +12,7 @@ DEBUG =
|
||||||
#CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG
|
#CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG
|
||||||
#DEBUG = debug.o
|
#DEBUG = debug.o
|
||||||
|
|
||||||
LIBS = `pkg-config --libs gtk+-2.0`
|
LIBS = `pkg-config --libs gtk+-2.0 x11`
|
||||||
|
|
||||||
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o utils.o $(DEBUG)
|
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o utils.o $(DEBUG)
|
||||||
TARGET = wmcliphist
|
TARGET = wmcliphist
|
||||||
|
|
Loading…
Reference in a new issue