mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user