From: Rosen Penev Date: Thu, 27 Feb 2020 04:20:21 +0000 (-0800) Subject: ola: link against libm under glibc X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9b171165a49ef045aa5db7ab65b1ae13b56e0bca;p=openwrt-packages.git ola: link against libm under glibc Fixes compilation. Signed-off-by: Rosen Penev --- diff --git a/net/ola/Makefile b/net/ola/Makefile index 7081f3c47..291b06a35 100644 --- a/net/ola/Makefile +++ b/net/ola/Makefile @@ -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