From 01c1b4fd69fa26a409fc1ec315b53c069d059c6a Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Thu, 22 Feb 2018 15:56:14 +0300 Subject: [PATCH] src makefile: Fix the `--static` flag passed to `pkg-config` --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 83284128..9d66bf5f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,7 +27,7 @@ deps := $(addprefix ., $(sources:.cc=$(suffix).d)) PKG_CONFIG ?= $(shell command -v pkg-config 2>/dev/null) ifeq ($(static),yes) - PKG_CONFIG_FLAGS += -static + PKG_CONFIG_FLAGS += --static LDFLAGS += -static -pthread endif