Browse Source

ola: link against libm under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
9b171165a4
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/ola/Makefile

+ 1
- 0
net/ola/Makefile 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


Loading…
Cancel
Save