mirror of https://github.com/openwrt/packages.git
protobuf: link against libm under glibc
Fixes compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>pull/11447/head
parent
513513c4d0
commit
ee2e3915f0
|
@ -81,7 +81,7 @@ CMAKE_OPTIONS += \
|
|||
-Dprotobuf_WITH_ZLIB=ON \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
TARGET_LDFLAGS += -latomic
|
||||
TARGET_LDFLAGS += -latomic $(if $(CONFIG_USE_GLIBC),-lm)
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/InstallDev/cmake,$(1))
|
||||
|
|
Loading…
Reference in New Issue