summaryrefslogtreecommitdiff
path: root/desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff
blob: e5dd7f51b10a4e1d15d1bfdbaf4fe38298b5b77c (plain)
1
2
3
4
5
6
7
8
9
--- linux/Makefile.orig	2013-11-27 10:39:26.448879134 +0100
+++ linux/Makefile	2013-11-27 10:42:28.977873694 +0100
@@ -1,5 +1,5 @@
 CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
-CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
+CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
 LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
 
 PREFIX?= /usr/local