don’t link against librt on Mac OS X (Thanks Marcus)

next
Michael Stapelberg 2012-05-02 20:06:57 +02:00
parent eedd1a64d7
commit 07a385bb7a
1 changed files with 3 additions and 0 deletions

View File

@ -68,7 +68,10 @@ CPPFLAGS += -DPCRE_HAS_UCP=1
endif
LIBS += -lm
# Darwin (Mac OS X) doesnt 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)