From 8fe7e3f730e1d2c659aadd75e9ddda9a59c6a926 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Jul 2019 16:42:46 +0200 Subject: [PATCH] (Qb) Add HAVE_DR_MP3 --- Makefile.common | 4 +++- qb/config.params.sh | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 12670995fa..17462828bc 100644 --- a/Makefile.common +++ b/Makefile.common @@ -153,8 +153,10 @@ ifneq ($(GIT_VERSION),) endif # General object files -DEFINES += -DHAVE_DR_MP3 +ifeq ($(HAVE_DR_MP3), 1) +DEFINES += -DHAVE_DR_MP3 DEF_FLAGS += -DHAVE_DR_MP3 +endif OBJ += frontend/frontend_driver.o \ frontend/drivers/platform_null.o \ diff --git a/qb/config.params.sh b/qb/config.params.sh index 8a3e2cbbbc..863f59cdef 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -118,6 +118,7 @@ HAVE_CHD=yes # Compile in chd support CXX_CHD=no HAVE_7ZIP=yes # Compile in 7z support HAVE_FLAC=auto # Compile in flac support +HAVE_DR_MP3=yes # Compile in Dr. MP3 support HAVE_BUILTINFLAC=auto # Bake in flac support HAVE_UPDATE_ASSETS=yes # Disable downloading assets with online updater HAVE_PRESERVE_DYLIB=no # Enable dlclose() for Valgrind support