icecast: Fix configure if both vorbis and tremor host packages installed

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess
2017-01-19 15:33:07 -05:00
parent 8dd6ca99fc
commit c82573e64e
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -55,6 +55,12 @@ CONFIGURE_ARGS+= \
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config"
# Manually edit configure in case both vorbis and tremor host packages are installed
define Build/Configure
$(SED) 's,-lvorbis -lm,-lvorbisidec -logg ,g' $(PKG_BUILD_DIR)/configure
$(call Build/Configure/Default)
endef
define Package/icecast/install
$(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/icecast.xml $(1)/etc/