treewide: include `nls.mk` when depending on glib2
authorLukas Voegl <[email protected]>
Fri, 27 Jun 2025 10:36:57 +0000 (12:36 +0200)
committerJosef Schlehofer <[email protected]>
Mon, 30 Jun 2025 19:36:06 +0000 (21:36 +0200)
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 <[email protected]>
libs/glib-networking/Makefile
sound/fluidsynth/Makefile
utils/swanmon/Makefile

index 962349d2a210484014a018afb227cf7d95d50bc5..e0bf48ea99f927aff5d4571fef5e74bd79fc605f 100644 (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 \
index 25779f4bc52b1d313f1c372b5a635b571a3c4305..f8bad01f2ebbc7083907b13585703af9d6507c5c 100644 (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
 
index 6dd96757345d71f94656d61371f6da92edcac7d0..c523ae634e0a487ec74a153931bf80071d2237ac 100644 (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