src makefile: Fix the --static
flag passed to pkg-config
This commit is contained in:
parent
35d68d2f82
commit
01c1b4fd69
|
@ -27,7 +27,7 @@ deps := $(addprefix ., $(sources:.cc=$(suffix).d))
|
||||||
PKG_CONFIG ?= $(shell command -v pkg-config 2>/dev/null)
|
PKG_CONFIG ?= $(shell command -v pkg-config 2>/dev/null)
|
||||||
|
|
||||||
ifeq ($(static),yes)
|
ifeq ($(static),yes)
|
||||||
PKG_CONFIG_FLAGS += -static
|
PKG_CONFIG_FLAGS += --static
|
||||||
LDFLAGS += -static -pthread
|
LDFLAGS += -static -pthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user