treewide: include nls.mk when depending on glib2

When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files.

Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
This commit is contained in:
Lukas Voegl
2025-06-27 12:36:57 +02:00
committed by Josef Schlehofer
parent b13bdcbac6
commit 7ee547b440
3 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ PKG_CPE_ID:=cpe:/a:gnome:glib-networking
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
include $(INCLUDE_DIR)/nls.mk
MESON_ARGS += \
-Dgnutls=enabled \

View File

@@ -14,6 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
include $(INCLUDE_DIR)/nls.mk
CMAKE_INSTALL:=1

View File

@@ -24,6 +24,7 @@ PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
include $(INCLUDE_DIR)/nls.mk
define Package/swanmon
SECTION:=utils