diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | templates/Makefile.template | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) diff --git a/templates/Makefile.template b/templates/Makefile.template index cde6ad978d..c6cedc9c7f 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.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) |