gawk: install /usr/bin/awk as a relative symlink

Fixes:
  http://autobuild.buildroot.net/results/bf3937882023df7ed319dc76f1af10f79785112f/

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Carlos Santos 2018-07-25 08:18:10 -03:00 committed by Thomas Petazzoni
parent dffbda3853
commit d4b5a92c53

View file

@ -34,7 +34,7 @@ endif
HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr
define GAWK_CREATE_SYMLINK define GAWK_CREATE_SYMLINK
ln -sf /usr/bin/gawk $(TARGET_DIR)/usr/bin/awk ln -sf gawk $(TARGET_DIR)/usr/bin/awk
endef endef
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK