mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
protobuf: link against libm under glibc
Fixes compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user