From 07a385bb7ad36fa567972e999f743fa4aaaf5cd2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 2 May 2012 20:06:57 +0200 Subject: [PATCH] =?utf8?q?don=E2=80=99t=20link=20against=20librt=20on=20Ma?= =?utf8?q?c=20OS=20X=20(Thanks=20Marcus)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.mk b/common.mk index 537d4dda..43949059 100644 --- a/common.mk +++ b/common.mk @@ -68,7 +68,10 @@ CPPFLAGS += -DPCRE_HAS_UCP=1 endif LIBS += -lm +# Darwin (Mac OS X) doesn’t have librt +ifneq ($(UNAME),Darwin) LIBS += -lrt +endif LIBS += -L $(TOPDIR)/libi3 -li3 LIBS += $(call ldflags_for_lib, xcb-event,xcb-event) LIBS += $(call ldflags_for_lib, xcb-keysyms,xcb-keysyms) -- 2.39.5