ruby: Fix build dependency of gmp/host
libgmp.so is needed for miniruby, that is compiled in host. Using PKG_BUILD_DEPENDS=gmp/host eventually compiled gmp/host before ruby/host. However, when this did not happened, build failed. Using HOST_BUILD_DEPENDS=gmp/host seems to be the correct way to require it. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
parent
400e4dee63
commit
0ecf63a655
1 changed files with 3 additions and 1 deletions
|
@ -27,11 +27,13 @@ PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
||||||
PKG_LICENSE:=BSD-2-Clause
|
PKG_LICENSE:=BSD-2-Clause
|
||||||
PKG_LICENSE_FILE:=COPYING
|
PKG_LICENSE_FILE:=COPYING
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=ruby/host gmp/host
|
PKG_BUILD_DEPENDS:=ruby/host
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
|
||||||
|
HOST_BUILD_DEPENDS:=gmp/host
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
|
Loading…
Reference in a new issue