httping: fix compilation with full NLS

-lintl is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2024-11-14 14:23:50 -08:00
parent c6989438c3
commit 824b2c09a0
2 changed files with 14 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=httping
PKG_VERSION:=3.5
PKG_RELEASE:=1
PKG_RELEASE:=3
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE

View File

@@ -0,0 +1,13 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,9 @@ add_executable(
set(CMAKE_BUILD_TYPE Debug)
-target_link_libraries(httping m)
+find_package(Intl)
+
+target_link_libraries(httping m Intl::Intl)
include(FindPkgConfig)