BuildSystem: set HAVE_IMLIB instead of HAVE_IMLIB
This commit is contained in:
parent
f6ad74273c
commit
01bd4cc265
@ -4,12 +4,16 @@
|
||||
PROG= wmfs
|
||||
MAN1= wmfs.1
|
||||
|
||||
.for lib in xrandr xinerama imlib2
|
||||
.for lib in xrandr xinerama
|
||||
.if !empty(LIBS:M${lib})
|
||||
CFLAGS+= -DHAVE_${lib:U}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
.if !empty(LIBS:Mimlib2)
|
||||
CFLAGS+= -DHAVE_IMLIB
|
||||
.endif
|
||||
|
||||
.if !defined(CFLAGS_LIBS)
|
||||
CFLAGS_LIBS!= pkg-config --cflags-only-I ${LIBS}
|
||||
.endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user