Merge remote-tracking branch 'lenormf/fix-makefile'

This commit is contained in:
Maxime Coste 2018-02-23 08:10:11 +11:00
commit e9c18ebff6

View File

@ -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