rbspeex: Fix build when using system speex libraries
Change-Id: If6dd5d89ff1e7d668ca975a89b9091a86cbca42c
This commit is contained in:
parent
64bed8361d
commit
0c4c1e6042
1 changed files with 3 additions and 1 deletions
|
@ -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))/
|
||||
|
|
Loading…
Reference in a new issue