diff --git a/libs/protobuf/Makefile b/libs/protobuf/Makefile index 7d23a379d..0b9bab9e8 100644 --- a/libs/protobuf/Makefile +++ b/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))