1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-17 21:01:55 +02:00

fixed gmp shared library issue for guile2

This commit is contained in:
Jiva Nath Bagale 2012-06-07 14:55:25 +01:00
parent 5e8a25ee6b
commit 35f6adf8d5

View File

@ -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))
$(eval $(call HostBuild))
$(eval $(call BuildPackage,guile2))