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:
parent
f8993ebb34
commit
c86439678b
|
@ -11,11 +11,12 @@ MTDEV2TUIO_LICENSE = GPLv3+
|
||||||
MTDEV2TUIO_LICENSE_FILES = COPYING
|
MTDEV2TUIO_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
|
# 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
|
define MTDEV2TUIO_BUILD_CMDS
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
LD="$(TARGET_CC)" \
|
LD="$(TARGET_CC)" \
|
||||||
|
LIBS="-lmtdev -llo -lm" \
|
||||||
-C $(@D)
|
-C $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue