From patchwork Wed May 15 07:41:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: christian.braunersorensen@prevas.dk X-Patchwork-Id: 243915 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id B05FE2C00B5 for ; Wed, 15 May 2013 17:41:25 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 264F13FF01 for ; Wed, 15 May 2013 09:41:24 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail02.prevas.se (mail02.prevas.se [62.95.78.10]) by hugin.dotsrc.org (Postfix) with ESMTPS id 830B13FEB7 for ; Wed, 15 May 2013 09:41:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=727; q=dns/txt; s=ironport2; t=1368603682; x=1400139682; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JRG+hd5195Y2xZbNCK/cWjCA68aSQ56krqsoWw+Yfpk=; b=L6cRRtf407hCgOOqmPE/FbEig7n3evgjdErgzwmzpBryPuOLc50++I9R OPdBPshruuBgp9HGFBrcg58Oo7+jVco5Yo4R1meO30WjuGktd+5idavH2 k3HWZLpMgpojLE4JoVBhTmtoxP4BtsDMA8dx7CuRjOGKYk63Gts1U3a34 E=; X-IronPort-AV: E=Sophos;i="4.87,675,1363129200"; d="scan'208";a="2684937" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 15 May 2013 09:41:22 +0200 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.342.3; Wed, 15 May 2013 09:41:21 +0200 Received: by localhost (Postfix, from userid 30007) id 1BDF76844A3; Wed, 15 May 2013 07:41:22 +0000 (UTC) From: To: Subject: [PATCH 4/4] expat: Fix mingw packaging Date: Wed, 15 May 2013 07:41:18 +0000 Message-ID: X-Mailer: git-send-email 1.8.0.3 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen --- recipes/expat/expat.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/expat/expat.inc b/recipes/expat/expat.inc index 8ea1118..a25f7b4 100644 --- a/recipes/expat/expat.inc +++ b/recipes/expat/expat.inc @@ -13,6 +13,13 @@ export LTCC = "${CC}" RDEPENDS_${PN} = "libexpat" +INSTALL_CLEANFUNCS = "" +INSTALL_CLEANUP_FUNCS:TARGET_OS_mingw32 = "do_install_fix_dll" +do_install[postfuncs] += "${INSTALL_CLEANUP_FUNCS}" +do_install_fix_dll () { + mv ${D}${prefix}${bindir}/*.dll ${D}${libdir}/ +} + inherit auto-package-libs AUTO_PACKAGE_LIBS = "expat" FILES_${PN}-libexpat-dev += "${includedir}"