Commit Graph

2 Commits (db657af409d622fdaa84e7475e7c445af607d5e0)

Author SHA1 Message Date
John Crispin 7ba7ddf88e gmp: add host compile
Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

SVN-Revision: 42196
10 years ago
Steven Barth 335529e207 gmp: import from packages, update and reduce size
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41247
10 years ago