mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
use PKGCONFIG for cross compilation in gentoo
needed for ebuild validity across different platforms which define their specific PKGCONFIG variable
This commit is contained in:
parent
54d95c0610
commit
264f7f684a
6
Makefile
6
Makefile
@ -13,12 +13,14 @@ OBJS= calmwm.o screen.o xmalloc.o client.o menu.o \
|
||||
search.o util.o xutil.o conf.o xevents.o group.o \
|
||||
kbfunc.o strlcpy.o strlcat.o y.tab.o \
|
||||
strtonum.o reallocarray.o
|
||||
|
||||
PKGCONFIG?= pkg-config
|
||||
|
||||
CPPFLAGS+= `pkg-config --cflags x11 xft xrandr`
|
||||
CPPFLAGS+= `${PKGCONFIG} --cflags x11 xft xrandr`
|
||||
|
||||
CFLAGS?= -Wall -O2 -g -D_GNU_SOURCE
|
||||
|
||||
LDFLAGS+= `pkg-config --libs x11 xft xrandr`
|
||||
LDFLAGS+= `${PKGCONFIG} --libs x11 xft xrandr`
|
||||
|
||||
MANPREFIX?= ${PREFIX}/share/man
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user