mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
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:
committed by
Josef Schlehofer
parent
b13bdcbac6
commit
7ee547b440
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user