kumquat-buildroot/package/vorbis-tools/vorbis-tools.mk
Peter Korsgaard b304ff7f7d vorbis-tools: fix libm linking issue
Fixes http://autobuild.buildroot.net/results/d48/d488dc5e1d684124e7367dac00ba2fb8c7b1b876/

ogg123 calls math functions but forgets to link with libm.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 14:51:40 +01:00

25 lines
715 B
Makefile

################################################################################
#
# vorbis-tools
#
################################################################################
VORBIS_TOOLS_VERSION = 1.4.0
VORBIS_TOOLS_SITE = http://downloads.xiph.org/releases/vorbis
VORBIS_TOOLS_LICENSE = GPLv2
VORBIS_TOOLS_LICENSE_FILES = COPYING
VORBIS_TOOLS_DEPENDENCIES = libao libogg libvorbis libcurl
VORBIS_TOOLS_CONF_OPT = --program-transform-name=''
# ogg123 calls math functions but forgets to link with libm
VORBIS_TOOLS_CONF_ENV = LIBS=-lm
ifeq ($(BR2_PACKAGE_FLAC),y)
VORBIS_TOOLS_DEPENDENCIES += flac
endif
ifeq ($(BR2_PACKAGE_SPEEX),y)
VORBIS_TOOLS_DEPENDENCIES += speex
endif
$(eval $(autotools-package))