From b11131867aeccc9ee22c22dfc282238ebbe16172 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 25 Nov 2022 14:31:16 +0100 Subject: changed libXft library --- config.mk | 9 ++++++--- dmenu | Bin 43392 -> 43392 bytes dmenu.o | Bin 32336 -> 32336 bytes drw.o | Bin 11240 -> 11240 bytes stest | Bin 17744 -> 17744 bytes 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config.mk b/config.mk index 566348b..2f30897 100644 --- a/config.mk +++ b/config.mk @@ -5,8 +5,10 @@ VERSION = 5.2 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib +# X11INC = /usr/X11R6/include +# X11LIB = /usr/X11R6/lib +X11INC = /home/cafebabe/.local/src/libxft/include +X11LIB = /home/cafebabe/.local/src/libxft/src/.libs # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama @@ -26,7 +28,8 @@ LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS) -LDFLAGS = $(LIBS) +# LDFLAGS = $(LIBS) +LDFLAGS = -Xlinker -rpath=$(X11LIB) $(LIBS) # compiler and linker CC = cc diff --git a/dmenu b/dmenu index e3f9d1a..fcdde0e 100755 Binary files a/dmenu and b/dmenu differ diff --git a/dmenu.o b/dmenu.o index 30f490e..9e3fd2e 100644 Binary files a/dmenu.o and b/dmenu.o differ diff --git a/drw.o b/drw.o index e73cbb5..14e5928 100644 Binary files a/drw.o and b/drw.o differ diff --git a/stest b/stest index 909f025..3dd76ae 100755 Binary files a/stest and b/stest differ -- cgit v1.2.3