asterisk-chan-dongle: fix uclibc build
[feed/telephony.git] / net / asterisk-chan-dongle / patches / 200-fix-iconv-detection.patch
index bc9d94d9ee332692c75e18ac16ca4af2794a8475..211764fc754e097f08eae2faa4a7067190d8df75 100644 (file)
@@ -5,7 +5,7 @@
  
  AC_HEADER_FIND([asterisk.h], $with_asterisk)
 -AC_HEADER_FIND([iconv.h], /usr/include /usr/local/include /opt/local/include)
-+AC_HEADER_FIND([iconv.h], "${TOOLCHAIN_DIR}/include")
++AC_HEADER_FIND([iconv.h], ${CHAN_DONGLE_ICONV_INC})
  
  AC_DEFINE([ICONV_CONST],[], [Define to const if you has iconv() const declaration of input buffer])
  AC_MSG_CHECKING([for iconv use const inbuf])