icecast: add libxml2 include directory
authorEneas U de Queiroz <[email protected]>
Tue, 20 Dec 2022 13:01:29 +0000 (10:01 -0300)
committerEneas U de Queiroz <[email protected]>
Tue, 27 Dec 2022 12:52:07 +0000 (09:52 -0300)
Fixes this error:
cfgfile.c:26:10: fatal error: libxml/xmlmemory.h: No such file or directory
   26 | #include <libxml/xmlmemory.h>
      |          ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Eneas U de Queiroz <[email protected]>
multimedia/icecast/Makefile

index 5d83bbdf78a780661753c79047b48cc830ec4e9b..544ea3cabfe057fc0ef93999df80c551fab632d6 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=icecast
 PKG_VERSION:=2.4.4
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://downloads.xiph.org/releases/icecast/
@@ -55,6 +55,7 @@ CONFIGURE_ARGS+= \
        --with-vorbis="$(STAGING_DIR)/usr" \
        --with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config"
 
+TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/libxml2
 
 # Manually edit configure in case both vorbis and tremor host packages are installed
 define Build/Configure