vim: fix build on non-linux systems after upgrade
The configure script calls uname directly and assumes that it returns the system to build for. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
5a610ab565
commit
f3b7a2dd2d
2 changed files with 7 additions and 2 deletions
|
@ -116,8 +116,7 @@ CONFIGURE_ARGS += \
|
|||
--disable-gpm \
|
||||
--disable-acl \
|
||||
--with-tlib=ncurses \
|
||||
--with-compiledby="non-existent-hostname-compiled" \
|
||||
--disable-darwin
|
||||
--with-compiledby="non-existent-hostname-compiled"
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
vim_cv_getcwd_broken=no \
|
||||
|
@ -129,6 +128,10 @@ CONFIGURE_VARS += \
|
|||
vim_cv_tty_group=root \
|
||||
vim_cv_tty_mode=0620
|
||||
|
||||
ifneq ($(HOST_OS),Linux)
|
||||
TARGET_PATH_PKG:=$(CURDIR)/scripts:$(TARGET_PATH_PKG)
|
||||
endif
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/src autoconf
|
||||
|
|
2
utils/vim/scripts/uname
Executable file
2
utils/vim/scripts/uname
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
echo "Linux"
|
Loading…
Reference in a new issue