From a2e87f69ac52ac5a0b65171fb4251f05309f172a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 18 Mar 2011 18:11:02 +0100 Subject: [PATCH] remove hard-coded paths since we now use pkg-config for all the dependencies --- common.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/common.mk b/common.mk index 445ba44e..182c12e5 100644 --- a/common.mk +++ b/common.mk @@ -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 -- 2.39.5