summaryrefslogtreecommitdiff
path: root/package/vorbis-tools
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-01-27 14:51:40 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-27 14:51:40 +0100
commitb304ff7f7db8018db70374d738371cf20848e194 (patch)
tree119a7483d22cfa6fe09d958bfb0a80ea239b141c /package/vorbis-tools
parentc443c2be1768ebbdcb76c55d0a08fd7c983488c8 (diff)
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>
Diffstat (limited to 'package/vorbis-tools')
-rw-r--r--package/vorbis-tools/vorbis-tools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/vorbis-tools/vorbis-tools.mk b/package/vorbis-tools/vorbis-tools.mk
index 464081e7a..506f8b94d 100644
--- a/package/vorbis-tools/vorbis-tools.mk
+++ b/package/vorbis-tools/vorbis-tools.mk
@@ -10,6 +10,8 @@ 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