From 35f6adf8d5106a918ac75aaba09ce8d6efd55952 Mon Sep 17 00:00:00 2001 From: Jiva Nath Bagale Date: Thu, 7 Jun 2012 14:55:25 +0100 Subject: [PATCH] fixed gmp shared library issue for guile2 --- guile2/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/guile2/Makefile b/guile2/Makefile index 41b1801..5bf4213 100644 --- a/guile2/Makefile +++ b/guile2/Makefile @@ -13,6 +13,7 @@ # modified 20/02/2012 # author: jnbagale@gmail.com +# Install libffi-dev on the host computer include $(TOPDIR)/rules.mk @@ -30,8 +31,8 @@ HOST_BUILD_PARALLEL:=1 PKG_FIXUP:=libtool PKG_INSTALL:=1 -PKG_BUILD_DEPENDS:=guile2/host -HOST_BUILD_DEPENDS:=gettext/host libiconv/host gc/host +PKG_BUILD_DEPENDS:=guile2/host +HOST_BUILD_DEPENDS:=gettext/host libiconv/host gc/host include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk @@ -53,10 +54,8 @@ endef CONFIGURE_ARGS += --with-libgmp-prefix --with-libunistring-prefix --with-libltdl-prefix CONFIGURE_VARS += gl_cv_func_duplocale_works=yes guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)" -HOST_CONFIGURE_ARGS += --with-libgmp-prefix --with-libunistring-prefix --with-libltdl-prefix +HOST_CONFIGURE_ARGS += --disable-shared --with-libgmp-prefix --with-libunistring-prefix --with-libltdl-prefix HOST_CONFIGURE_VARS += PKG_CONFIG=true LIBFFI_LIBS=-lffi BDW_GC_LIBS=-lgc -# LIBFFI_CFLAGS=$(STAGING_DIR_HOST)/include \ - BDW_GC_CFLAGS=$(STAGING_DIR_HOST)/include define Build/Prepare $(call Build/Prepare/Default) @@ -66,8 +65,7 @@ define Host/Configure $(call Host/Configure/Default) endef -## On the host, we only compile and install guile2 used for -## bootstrapping +## On the host, we only compile and install guile2 used for bootstrapping define Host/Compile $(call Host/Compile/Default) endef @@ -115,5 +113,5 @@ define Package/guile2/install endef -$(eval $(call BuildPackage,guile2)) -$(eval $(call HostBuild)) \ No newline at end of file +$(eval $(call HostBuild)) +$(eval $(call BuildPackage,guile2)) \ No newline at end of file