summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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