[asterisk-commits] trunk r9628 - /trunk/codecs/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Feb 11 13:48:49 MST 2006


Author: kpfleming
Date: Sat Feb 11 14:48:48 2006
New Revision: 9628

URL: http://svn.digium.com/view/asterisk?rev=9628&view=rev
Log:
don't blow up if multiple copies of the headers are found

Modified:
    trunk/codecs/Makefile

Modified: trunk/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/codecs/Makefile?rev=9628&r1=9627&r2=9628&view=diff
==============================================================================
--- trunk/codecs/Makefile (original)
+++ trunk/codecs/Makefile Sat Feb 11 14:48:48 2006
@@ -33,7 +33,7 @@
 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 @@
 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=



More information about the asterisk-commits mailing list