From 48efc2d43c8b3e89e21b5489ae6113a2470ed23c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 5 Mar 2017 05:10:42 +0100 Subject: libffi: fix openjdk7 compile, which need to statically link libffi --- package/libffi/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/libffi/Makefile') diff --git a/package/libffi/Makefile b/package/libffi/Makefile index da7195d5d..8fe84fc58 100644 --- a/package/libffi/Makefile +++ b/package/libffi/Makefile @@ -27,6 +27,10 @@ HOST_STYLE:= auto HOST_CONFIGURE_ARGS+= --disable-builddir --with-pic CONFIGURE_ARGS+= --disable-builddir --with-pic +ifeq ($(ADK_PACKAGE_OPENJDK7),y) +CONFIGURE_ARGS+= --enable-static +endif + libffi-install: ${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib ${CP} ${WRKINST}/usr/lib*/libffi.so* ${IDIR_LIBFFI}/usr/lib -- cgit v1.2.3