From patchwork Sun Oct 21 15:27:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Diorcet X-Patchwork-Id: 193007 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 [130.225.254.102]) by ozlabs.org (Postfix) with ESMTP id 819972C0080 for ; Mon, 22 Oct 2012 02:27:56 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 20B3E3FD5E for ; Sun, 21 Oct 2012 17:27:55 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by hugin.dotsrc.org (Postfix) with ESMTPS id 5C96A3FBAE for ; Sun, 21 Oct 2012 17:27:52 +0200 (CEST) Received: by mail-we0-f179.google.com with SMTP id z49so956617wey.10 for ; Sun, 21 Oct 2012 08:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ZHhModHRgFFko3FCcFkwu+sxpKwg4Ko5q4dMdmRbArs=; b=H+WZ8Zj1Vty5NEj1UgTVmyHZ9fBDfPYG9zlONV9K3cm9KyJCZmLbCtCKX4nWN33iSk 20E6shKcNgHEpcnH6OfYrFqvC6NvVV9PCjrA9xNgkkE/r4GmuZzYb81Cx4WW27yX4zQ0 a1xOhD5iWZ9eS8Wa3K07yV0rSYMqHpBFxgx8sjINdlyoIGpjbew39jsa1LvfMMsuEXc4 0O5HbRvNI6DRxQq4bKWA0/XoTrzc0mF1WGIowOTW1X7sL04+pgBbUpKc4Wx08/NmEhfs 0vlfOmcm28DoI6D31SVOoZ+dCAM8WmXC1uEAMo6AeRUvgvVeOXQk4X6Ca1nDoUGCudSR DFow== Received: by 10.216.72.5 with SMTP id s5mr3995590wed.154.1350833272215; Sun, 21 Oct 2012 08:27:52 -0700 (PDT) Received: from localhost.localdomain (dom38-1-82-236-154-183.fbx.proxad.net. [82.236.154.183]) by mx.google.com with ESMTPS id gg4sm16470282wib.6.2012.10.21.08.27.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Oct 2012 08:27:51 -0700 (PDT) From: Yann Diorcet To: dev@oe-lite.org Subject: [PATCH 03/18] Add SOLIBS and SOLIBSDEV suffix for darwin Date: Sun, 21 Oct 2012 17:27:26 +0200 Message-Id: <1350833261-8401-3-git-send-email-diorcet.yann@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1350833261-8401-1-git-send-email-diorcet.yann@gmail.com> References: <1350833261-8401-1-git-send-email-diorcet.yann@gmail.com> Cc: Yann Diorcet 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: , MIME-Version: 1.0 Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Yann Diorcet Darwin uses dylib extension. Use negative instruction for removing SOLIBS from dev package (on darwin) --- conf/package.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/package.conf b/conf/package.conf index d4e53d7..b513086 100644 --- a/conf/package.conf +++ b/conf/package.conf @@ -15,8 +15,10 @@ HOMEPAGE = "unknown" SOLIBS = ".so.*" SOLIBS:HOST_OS_mingw32 = "-*.dll" +SOLIBS:HOST_OS_darwin = ".*.dylib" SOLIBSDEV = ".so" SOLIBSDEV:HOST_OS_mingw32 = ".dll.a" +SOLIBSDEV:HOST_OS_darwin = ".dylib" PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-locale ${PN}" @@ -43,6 +45,7 @@ ${base_libdir}/*.a ${base_libdir}/*.la ${base_libdir}/*.o ${base_sharedlibdir}/lib*${SOLIBSDEV} +!${base_sharedlibdir}/lib*${SOLIBS} ${datadir}/aclocal ${datadir}/pkgconfig ${includedir} @@ -51,6 +54,7 @@ ${libdir}/*.la ${libdir}/*.o ${libdir}/*/include ${sharedlibdir}/lib*${SOLIBSDEV} +!${sharedlibdir}/lib*${SOLIBS} ${libdir}/pkgconfig ${FILES_DEV_MINGW} """