Browse Source

libffi: fix openjdk7 compile, which need to statically link libffi

Waldemar Brodkorb 7 years ago
parent
commit
48efc2d43c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/libffi/Makefile

+ 4 - 0
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