mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
httping: fix compilation with full NLS
-lintl is needed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=httping
|
PKG_NAME:=httping
|
||||||
PKG_VERSION:=3.5
|
PKG_VERSION:=3.5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=3
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
|
|||||||
13
net/httping/patches/010-nls.patch
Normal file
13
net/httping/patches/010-nls.patch
Normal 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)
|
||||||
|
|
||||||
Reference in New Issue
Block a user