summaryrefslogtreecommitdiff
path: root/package/libffi
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-05 05:10:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-05 05:15:39 +0100
commit48efc2d43c8b3e89e21b5489ae6113a2470ed23c (patch)
tree2951fa12b27e054ad69949159e8a4356a883e49a /package/libffi
parentd2506217acf401991a05d6db3bea4ac309cf4487 (diff)
libffi: fix openjdk7 compile, which need to statically link libffi
Diffstat (limited to 'package/libffi')
-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