Browse Source
protobuf: link against libm under glibc
Fixes compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev
5 years ago
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with
1 additions and
1 deletions
-
libs/protobuf/Makefile
|
|
@ -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)) |
|
|
|