summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 464081e7ae..506f8b94df 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
OpenPOWER on IntegriCloud