common.mk: Split libev flags
This commit is contained in:
@ -81,7 +81,6 @@ CFLAGS += $(call cflags_for_lib, yajl)
|
||||
# Fallback for libyajl 1 which did not include yajl_version.h. We need
|
||||
# YAJL_MAJOR from that file to decide which code path should be used.
|
||||
CFLAGS += -idirafter $(TOPDIR)/yajl-fallback
|
||||
CFLAGS += $(call cflags_for_lib, libev)
|
||||
|
||||
LIBS += -lm
|
||||
LIBS += -L $(TOPDIR) -li3
|
||||
@ -100,7 +99,10 @@ LIBS += $(call ldflags_for_lib, xcb,xcb)
|
||||
LIBS += $(call ldflags_for_lib, xcursor,Xcursor)
|
||||
LIBS += $(call ldflags_for_lib, x11,X11)
|
||||
LIBS += $(call ldflags_for_lib, yajl,yajl)
|
||||
LIBS += $(call ldflags_for_lib, libev,ev)
|
||||
|
||||
#libev
|
||||
LIBEV_CFLAGS := $(call cflags_for_lib, libev)
|
||||
LIBEV_LIBS := $(call ldflags_for_lib, libev,ev)
|
||||
|
||||
# libpcre
|
||||
PCRE_CFLAGS := $(call cflags_for_lib, libpcre)
|
||||
|
Reference in New Issue
Block a user