void-packages/srcpkgs/setroot/patches/new-imlib.patch

12 lines
262 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ NAME := setroot
CC := gcc
OFLAG :=
CFLAGS := -std=c99 -Wall -g -Wextra ${OFLAG}
-LIBS := -lX11 `imlib2-config --libs`
+LIBS := -lX11 `${PKG_CONFIG} --libs imlib2`
SRC := setroot.c