diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-05 05:10:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-05 05:15:39 +0100 |
commit | 48efc2d43c8b3e89e21b5489ae6113a2470ed23c (patch) | |
tree | 2951fa12b27e054ad69949159e8a4356a883e49a /package/libffi/Makefile | |
parent | d2506217acf401991a05d6db3bea4ac309cf4487 (diff) |
libffi: fix openjdk7 compile, which need to statically link libffi
Diffstat (limited to 'package/libffi/Makefile')
-rw-r--r-- | package/libffi/Makefile | 4 |
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 |