From: Quentin Glidic Date: Sun, 22 Jul 2012 22:13:16 +0000 (+0200) Subject: common.mk: Little reordering X-Git-Tag: 4.3~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb66337020b221ccf2f388c63cc4378c85897fa4;p=i3%2Fi3 common.mk: Little reordering --- diff --git a/common.mk b/common.mk index d6a7572f..75f6f269 100644 --- a/common.mk +++ b/common.mk @@ -63,9 +63,6 @@ endif cflags_for_lib = $(shell pkg-config --silence-errors --cflags $(1) 2>/dev/null) ldflags_for_lib = $(shell pkg-config --exists 2>/dev/null $(1) && pkg-config --libs $(1) 2>/dev/null || echo -l$(2)) - -LIBS += -L $(TOPDIR) -li3 - # XCB common stuff XCB_CFLAGS := $(call cflags_for_lib, xcb) XCB_CFLAGS += $(call cflags_for_lib, xcb-event) @@ -123,6 +120,8 @@ PCRE_LIBS := $(call ldflags_for_lib, libpcre,pcre) LIBSN_CFLAGS := $(call cflags_for_lib, libstartup-notification-1.0) LIBSN_LIBS := $(call ldflags_for_lib, libstartup-notification-1.0,startup-notification-1) +# libi3 +LIBS = -L$(TOPDIR) -li3 ## Platform-specific flags