]> git.sur5r.net Git - i3/i3/commitdiff
common.mk: Little reordering
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Sun, 22 Jul 2012 22:13:16 +0000 (00:13 +0200)
committerQuentin Glidic <sardemff7+git@sardemff7.net>
Sun, 22 Jul 2012 22:13:16 +0000 (00:13 +0200)
common.mk

index d6a7572f94fd463a6fb3844a0cdfd2f71d15267f..75f6f269aa8e86244f8e2b9d19a681b56f215837 100644 (file)
--- 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