summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libffi/Makefile4
1 files changed, 4 insertions, 0 deletions
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