Skip to content

Commit 7ee547b

Browse files
lvoeglBKPepe
authored andcommitted
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 <[email protected]>
1 parent b13bdcb commit 7ee547b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libs/glib-networking/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ PKG_CPE_ID:=cpe:/a:gnome:glib-networking
1515

1616
include $(INCLUDE_DIR)/package.mk
1717
include $(INCLUDE_DIR)/meson.mk
18+
include $(INCLUDE_DIR)/nls.mk
1819

1920
MESON_ARGS += \
2021
-Dgnutls=enabled \

sound/fluidsynth/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
1414

1515
include $(INCLUDE_DIR)/package.mk
1616
include $(INCLUDE_DIR)/cmake.mk
17+
include $(INCLUDE_DIR)/nls.mk
1718

1819
CMAKE_INSTALL:=1
1920

utils/swanmon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ PKG_BUILD_PARALLEL:=1
2424

2525
include $(INCLUDE_DIR)/package.mk
2626
include $(INCLUDE_DIR)/cmake.mk
27+
include $(INCLUDE_DIR)/nls.mk
2728

2829
define Package/swanmon
2930
SECTION:=utils

0 commit comments

Comments
 (0)