remove hard-coded paths since we now use pkg-config for all the dependencies
This commit is contained in:
parent
696d3cb88f
commit
a2e87f69ac
|
@ -27,7 +27,6 @@ CFLAGS += -Wall
|
|||
# We don’t want unused-parameter because of the use of many callbacks
|
||||
CFLAGS += -Wunused-value
|
||||
CFLAGS += -Iinclude
|
||||
CFLAGS += -I/usr/local/include
|
||||
CFLAGS += $(call cflags_for_lib, xcb-keysyms)
|
||||
ifeq ($(shell pkg-config --exists xcb-util || echo 1),1)
|
||||
CFLAGS += -DXCB_COMPAT
|
||||
|
@ -64,7 +63,6 @@ LDFLAGS += $(call ldflags_for_lib, xcursor, Xcursor)
|
|||
LDFLAGS += $(call ldflags_for_lib, x11, X11)
|
||||
LDFLAGS += $(call ldflags_for_lib, yajl, yajl)
|
||||
LDFLAGS += $(call ldflags_for_lib, libev, ev)
|
||||
LDFLAGS += -L/usr/local/lib -L/usr/pkg/lib
|
||||
|
||||
ifeq ($(UNAME),NetBSD)
|
||||
# We need -idirafter instead of -I to prefer the system’s iconv over GNU libiconv
|
||||
|
|
Loading…
Reference in New Issue