Torrance, Douglas
unread,Oct 10, 2021, 6:47:56 AM10/10/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wmake...@googlegroups.com, Torrance, Douglas, Helmut Grohne
Authored-By: Helmut Grohne <
hel...@subdivi.de>
Bug:
https://bugs.debian.org/941312
---
wmcliphist/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/wmcliphist/Makefile b/wmcliphist/Makefile
index c6dab1c..7b3ac71 100644
--- a/wmcliphist/Makefile
+++ b/wmcliphist/Makefile
@@ -1,10 +1,11 @@
srcCC ?= gcc
+PKG_CONFIG ?= pkg-config
INSTALL = install
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
DATADIR = $(PREFIX)/share/wmcliphist
MAN1DIR = $(PREFIX)/share/man/man1
-INCLUDES = `pkg-config --cflags gtk+-3.0 x11`
+INCLUDES = `$(PKG_CONFIG) --cflags gtk+-3.0 x11`
# for normal use
CFLAGS += -Wall -ansi -pedantic $(INCLUDES) -DDATADIR=\"$(DATADIR)\"
@@ -16,7 +17,7 @@ DEBUG =
#CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG -DDATADIR=\"$(DATADIR)\"
#DEBUG = debug.o
-LIBS = `pkg-config --libs gtk+-3.0 x11`
+LIBS = `$(PKG_CONFIG) --libs gtk+-3.0 x11`
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o utils.o $(DEBUG)
TARGET = wmcliphist
--
2.30.2