Explorar o código

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

Waldemar Brodkorb %!s(int64=8) %!d(string=hai) anos
pai
achega
48efc2d43c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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