Merge pull request #11447 from neheb/prot2

protobuf: link against libm under glibc
This commit is contained in:
Rosen Penev
2020-02-28 15:11:55 -08:00
committed by GitHub
+1 -1
View File
@@ -81,7 +81,7 @@ CMAKE_OPTIONS += \
-Dprotobuf_WITH_ZLIB=ON \ -Dprotobuf_WITH_ZLIB=ON \
-DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON
TARGET_LDFLAGS += -latomic TARGET_LDFLAGS += -latomic $(if $(CONFIG_USE_GLIBC),-lm)
define Build/InstallDev define Build/InstallDev
$(call Build/InstallDev/cmake,$(1)) $(call Build/InstallDev/cmake,$(1))