mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-21 13:57:16 +00:00

MKINSTALLDIRS is not automatically called by autotools when autoreconfigured. This leads to the following error during install: `/bin/sh @MKINSTALLDIRS@ /home/dawncrow/buildroot-test/scripts/instance-0/output/target/usr/share /bin/sh: 0: Can't open @MKINSTALLDIRS@` because @MKINSTALLDIRS@ doesn't get substituted during autoreconf. This particular command only gets invoked when NLS is enabled. Add patch that explicitly calls AM_MKINSTALLDIRS macro to substitute every @MKINSTALLDIRS@ occurence in *.in Makefile. Patch is not sent upstream since upstream is dead. Fixes: http://autobuild.buildroot.net/results/744/7447c03426556f787f20f7ab2d36f0cacc4af1bd/ Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit 00b733a39b0fe3902c96f6734c4f82c310cffc26) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>