From: Peter Korsgaard Date: Mon, 1 Sep 2014 08:54:18 +0000 (+0200) Subject: mtdev2tuio: fix static linking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c86439678bc0db90ef5cbb59ada599a741ffffef;p=buildroot.git mtdev2tuio: fix static linking Liblo uses log(3), so we need to link with -lm when linking statically. Fixes http://autobuild.buildroot.net/results/bec/becda4756c577ec158536408aba59797fbed938a/ Signed-off-by: Peter Korsgaard --- diff --git a/package/mtdev2tuio/mtdev2tuio.mk b/package/mtdev2tuio/mtdev2tuio.mk index b4aab5279c..7b00221c6a 100644 --- a/package/mtdev2tuio/mtdev2tuio.mk +++ b/package/mtdev2tuio/mtdev2tuio.mk @@ -11,11 +11,12 @@ MTDEV2TUIO_LICENSE = GPLv3+ MTDEV2TUIO_LICENSE_FILES = COPYING # mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD -# here. +# here. Liblo uses log(3), so we need to link with -lm define MTDEV2TUIO_BUILD_CMDS $(MAKE) \ $(TARGET_CONFIGURE_OPTS) \ LD="$(TARGET_CC)" \ + LIBS="-lmtdev -llo -lm" \ -C $(@D) endef