fix asterisk build with latest speex version
[openwrt.git] / openwrt / package / asterisk / Makefile
index 6326799..f428e9a 100644 (file)
@@ -88,8 +88,8 @@ asterisk-compile: $(PKG_BUILD_DIR)/.patched
                $(TARGET_CONFIGURE_OPTS) \
                OPTIMIZE="$(TARGET_CFLAGS)" \
                PROC="$(ARCH)" \
                $(TARGET_CONFIGURE_OPTS) \
                OPTIMIZE="$(TARGET_CFLAGS)" \
                PROC="$(ARCH)" \
-               CFLAGS_EXTRA="-I$(STAGING_DIR)/usr/include" \
-               LDFLAGS_EXTRA="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib/mysql" \
+               CFLAGS_EXTRA="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include/speex" \
+               LDFLAGS_EXTRA="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/mysql" \
                CRYPTO_LIBS="-L$(STAGING_DIR)/usr/lib -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic" \
                EXTRA_APPS="$(APPS)" \
                EXTRA_MODS="$(MODS)" \
                CRYPTO_LIBS="-L$(STAGING_DIR)/usr/lib -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic" \
                EXTRA_APPS="$(APPS)" \
                EXTRA_MODS="$(MODS)" \
This page took 0.025139 seconds and 4 git commands to generate.