summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-05-18 08:41:09 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-05-18 08:43:47 -0400
commit0c4c1e60428c28b30a5f1c151b6691b2171cff7f (patch)
tree2811886f2ff7026bc3356903aedcc42392d661d3
parent64bed8361d6452fb4e1e161955d3550b81352d82 (diff)
downloadrockbox-0c4c1e6042.tar.gz
rockbox-0c4c1e6042.tar.bz2
rockbox-0c4c1e6042.zip
rbspeex: Fix build when using system speex libraries
Change-Id: If6dd5d89ff1e7d668ca975a89b9091a86cbca42c
-rw-r--r--tools/rbspeex/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile
index 03f88f34cd..669e030c0d 100644
--- a/tools/rbspeex/Makefile
+++ b/tools/rbspeex/Makefile
@@ -73,12 +73,14 @@ endif
ifeq ($(SYS_SPEEX),)
# This sets up 'SRC' based on the files mentioned in SOURCES
SPEEXSRCS := $(shell $(CC) $(CFLAGS) -E -P -xc $(SPEEXSRC)/SOURCES)
-LIBSOURCES := $(SPEEXSRCS:%.c=$(SPEEXSRC)/%.c) rbspeex.c
+LIBSOURCES := $(SPEEXSRCS:%.c=$(SPEEXSRC)/%.c)
LIBS = $(TARGET_DIR)librbspeex.a
else
LIBS = $(SYS_SPEEX)
endif
+LIBSOURCES += rbspeex.c
+
TARGET_DIR ?= $(shell pwd)/
BUILD_DIR ?= $(TARGET_DIR)build$(COMPILETARGET)
OBJDIR = $(abspath $(BUILD_DIR))/