git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
513513c
)
ola: link against libm under glibc
author
Rosen Penev
<redacted>
Thu, 27 Feb 2020 04:20:21 +0000
(20:20 -0800)
committer
Rosen Penev
<redacted>
Thu, 27 Feb 2020 04:28:17 +0000
(20:28 -0800)
Fixes compilation.
Signed-off-by: Rosen Penev <redacted>
net/ola/Makefile
patch
|
blob
|
history
diff --git
a/net/ola/Makefile
b/net/ola/Makefile
index 7081f3c47ba09eaa4e5348890e276be48b7ca075..291b06a35790679ac9947174cc6e3c7824359172 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT