From 76b4b426af189dc50a6a0432aeb25ee786169f6c Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 27 Apr 2018 09:54:05 -0700 Subject: [PATCH] Makefile.common: Fix segfaults with --disable-builtinflac. --- Makefile.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index e5924dd99f..7bde9ea982 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1463,7 +1463,8 @@ ifeq ($(HAVE_BUILTINFLAC),1) endif OBJ += $(FLACOBJ) else ifeq ($(HAVE_FLAC),1) - LIBS += $(FLAC_LIBS) + DEFINES += -DHAVE_FLAC + LIBS += $(FLAC_LIBS) endif ifeq ($(HAVE_ZLIB), 1)