diff options
author | Andre Heider <a.heider@gmail.com> | 2023-01-27 16:33:25 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-07-04 20:25:40 +0200 |
commit | ca788d615fbf780b1a1665475ed304de4276f512 (patch) | |
tree | 806f44e10108fa5ad533c905320987485a70ec06 /tools/meson | |
parent | 21ab20bc64f5608d9341b1878fa1c5a569b471d5 (diff) |
meson: prepare to use different linkers
This sets the default linker for cross compilation.
No functional change intended.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'tools/meson')
-rw-r--r-- | tools/meson/Makefile | 1 | ||||
-rw-r--r-- | tools/meson/files/openwrt-cross.txt.in | 2 |
2 files changed, 3 insertions, 0 deletions
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@' |