diff options
author | 2024-05-02 23:26:34 +0200 | |
---|---|---|
committer | 2024-05-02 23:26:34 +0200 | |
commit | b9ccca687a0ba624fe0751713da0e1695994bc45 (patch) | |
tree | b35d748e5ec6d7efc95f0678ad56a933dc91b07d | |
parent | a34d8fb4327bbb1afd92e7527c53fcaad547a495 (diff) | |
download | slock-b9ccca687a0ba624fe0751713da0e1695994bc45.tar.gz slock-b9ccca687a0ba624fe0751713da0e1695994bc45.zip |
Change fixed X11 flags
Just use the pkg-config to make this project buildable on different systems.
-rw-r--r-- | config.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,12 +7,12 @@ VERSION = 1.5 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib +X11INC != pkg-config --cflags x11 xorg-server +X11LIB != pkg-config --libs x11 xorg-server # includes and libs INCS = -I. -I/usr/include -I${X11INC} -LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext -lXrandr +LIBS = -L/usr/lib -lc -lcrypt ${X11LIB} -lXext -lXrandr # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H |