libmnl: fix build when bash is not located at /bin/bash
authorMark Mentovai <mark@mentovai.com>
Sun, 10 Jul 2022 23:43:05 +0000 (19:43 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 31 Jul 2022 18:30:20 +0000 (20:30 +0200)
commitbeeb49740bb4f68aadf92095984a2d1f9a488956
treebedb47ef4fb448dee0512a8fe31640adbdc8f61d
parent13308161788c98ae6cd48c22b13339fdb8c77130
libmnl: fix build when bash is not located at /bin/bash

This fixes the libmnl build on macOS, which ships with an outdated bash
at /bin/bash. During the OpenWrt build, a modern host bash is built and
made available at staging_dir/host/bin/bash, which is present before
/bin/bash in the build's PATH.

This is similar to 8f7ce3aa6dda, presently appearing at
package/kernel/mac80211/patches/build/001-fix_build.patch.

Signed-off-by: Mark Mentovai <mark@mentovai.com>
package/libs/libmnl/patches/001-fix_build.patch [new file with mode: 0644]