From 6decbb6b5be66ffbff93fa3668b903db1d72f5e8 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 6 Jul 2012 09:23:05 +0000 Subject: [PATCH] libffi: split build and source directory to work around some makefile bugs git-svn-id: svn://svn.openwrt.org/openwrt/packages@32632 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libffi/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile index 65668d2bd..e6bd7a6af 100644 --- a/libs/libffi/Makefile +++ b/libs/libffi/Makefile @@ -40,6 +40,15 @@ A layer must exist above libffi that handles type conversions for values passed between the two languages. endef +CONFIGURE_PATH = build +CONFIGURE_CMD = ../configure +MAKE_PATH = build + +define Build/Configure + mkdir -p $(PKG_BUILD_DIR)/build + $(Build/Configure/Default) +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) \ -- 2.11.0