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 <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-09-01 10:54:18 +02:00
parent f8993ebb34
commit c86439678b
1 changed files with 2 additions and 1 deletions

View File

@ -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