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)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Aug 2022 13:24:57 +0000 (15:24 +0200)
commitdaa73dc681455bc2daa83d76f158f4977d9283e4
tree89e30f0737b38ac5f42749b0be9c4a4f35f83698
parent596efe1356dae2c8c6ed912b23ee17d76b44a1f7
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>
(cherry picked from commit beeb49740bb4f68aadf92095984a2d1f9a488956)
package/libs/libmnl/patches/001-fix_build.patch [new file with mode: 0644]