Skip to content
Snippets Groups Projects
Commit 80b1a195 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

don't blow up if multiple copies of the headers are found

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 452f87a4
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ else
endif
SPEEX_PATH:=/usr/local/include /usr/include /usr/include/speex /usr/local/include/speex
SPEEX_SYSTEM_HEADERS:=$(wildcard $(SPEEX_PATH:%=$(CROSS_COMPILE_TARGET)%/speex.h))
SPEEX_SYSTEM_HEADERS:=$(firstword $(wildcard $(SPEEX_PATH:%=$(CROSS_COMPILE_TARGET)%/speex.h)))
ifeq (${SPEEX_SYSTEM_HEADERS},)
MODS:=$(filter-out codec_speex.so,$(MODS))
else
......@@ -48,7 +48,7 @@ else
endif
LIBGSM_PATH:=/usr/local/include /usr/include
LIBGSM_SYSTEM_HEADERS:=$(wildcard $(LIBGSM_PATH:%=$(CROSS_COMPILE_TARGET)%/gsm/gsm.h))
LIBGSM_SYSTEM_HEADERS:=$(firstword $(wildcard $(LIBGSM_PATH:%=$(CROSS_COMPILE_TARGET)%/gsm/gsm.h)))
ifneq ($(LIBGSM_SYSTEM_HEADERS),)
LIBGSM=-lgsm
LIBGSMT=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment