From ca788d615fbf780b1a1665475ed304de4276f512 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 27 Jan 2023 16:33:25 +0100 Subject: meson: prepare to use different linkers This sets the default linker for cross compilation. No functional change intended. Signed-off-by: Andre Heider --- tools/meson/Makefile | 1 + tools/meson/files/openwrt-cross.txt.in | 2 ++ 2 files changed, 3 insertions(+) (limited to 'tools/meson') diff --git a/tools/meson/Makefile b/tools/meson/Makefile index b115e0802b..f957bfb49f 100644 --- a/tools/meson/Makefile +++ b/tools/meson/Makefile @@ -2,6 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=meson PKG_VERSION:=1.1.1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/mesonbuild/meson/releases/download/$(PKG_VERSION) diff --git a/tools/meson/files/openwrt-cross.txt.in b/tools/meson/files/openwrt-cross.txt.in index ec4b027f1b..ba11915069 100644 --- a/tools/meson/files/openwrt-cross.txt.in +++ b/tools/meson/files/openwrt-cross.txt.in @@ -1,6 +1,8 @@ [binaries] c = [@CC@] +c_ld = [@LD@] cpp = [@CXX@] +cpp_ld = [@LD@] ar = '@AR@' strip = '@STRIP@' nm = '@NM@' -- cgit v1.2.3