mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 01:59:24 +08:00
libffi: don't build host shared libs
Avoids rpath hacks. Add --with-pic. Needed for static library. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
b798d81822
commit
6854ea1319
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libffi
|
PKG_NAME:=libffi
|
||||||
PKG_VERSION:=3.4.2
|
PKG_VERSION:=3.4.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/libffi/libffi/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/libffi/libffi/tar.gz/v$(PKG_VERSION)?
|
||||||
@ -48,11 +48,13 @@ between the two languages.
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS += \
|
HOST_CONFIGURE_ARGS += \
|
||||||
|
--disable-shared \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
--disable-multi-os-directory \
|
--disable-multi-os-directory \
|
||||||
--disable-raw-api \
|
--disable-raw-api \
|
||||||
--disable-structs
|
--disable-structs \
|
||||||
|
--with-pic
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
|
Loading…
Reference in New Issue
Block a user