mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
ola: link against libm under glibc
Fixes compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -66,6 +66,7 @@ HOST_CONFIGURE_ARGS += \
|
|||||||
--disable-doxygen-doc
|
--disable-doxygen-doc
|
||||||
|
|
||||||
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
|
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
|
||||||
|
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
|
||||||
|
|
||||||
# only build the ola_protoc thingy
|
# only build the ola_protoc thingy
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
|
|||||||
Reference in New Issue
Block a user