ola: link against libm under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-02-26 20:20:21 -08:00
parent 513513c4d0
commit 9b171165a4
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B

View file

@ -66,6 +66,7 @@ HOST_CONFIGURE_ARGS += \
--disable-doxygen-doc
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
# only build the ola_protoc thingy
define Host/Compile