Reversed condition for requiring rt

pull/2309/head
murgatroid99 10 years ago
parent 4fed2127b7
commit d8f1ef72fb
  1. 2
      Makefile
  2. 2
      templates/Makefile.template

@ -342,7 +342,7 @@ PC_CFLAGS = -pthread
PC_REQUIRES_PRIVATE =
PC_LIBS_PRIVATE = -lpthread
PC_LIB = -lgpr
ifeq ($(SYSTEM),Darwin)
ifneq ($(SYSTEM),Darwin)
PC_LIBS_PRIVATE += -lrt
endif
GPR_PC_FILE := $(PC_TEMPLATE)

@ -367,7 +367,7 @@ PC_CFLAGS = -pthread
PC_REQUIRES_PRIVATE =
PC_LIBS_PRIVATE = -lpthread
PC_LIB = -lgpr
ifeq ($(SYSTEM),Darwin)
ifneq ($(SYSTEM),Darwin)
PC_LIBS_PRIVATE += -lrt
endif
GPR_PC_FILE := $(PC_TEMPLATE)

Loading…
Cancel
Save