From patchwork Tue Dec 12 16:59:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 32178 X-Patchwork-Delegate: bruce.richardson@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFA681ADD3; Tue, 12 Dec 2017 18:04:36 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C3F321AEF3 for ; Tue, 12 Dec 2017 18:04:33 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2017 09:04:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,395,1508828400"; d="scan'208";a="1856187" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga007.fm.intel.com with ESMTP; 12 Dec 2017 09:04:32 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: luca.boccassi@gmail.com, aconole@redhat.com, Bruce Richardson Date: Tue, 12 Dec 2017 16:59:38 +0000 Message-Id: <20171212165940.272969-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171212165940.272969-1-bruce.richardson@intel.com> References: <20171212165940.272969-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 4/6] build: change default library type to static X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Now that we always build both static and shared libraries, the default library type only applies to apps and examples. To avoid issues with paths when doing actual development with DPDK, change the default app build to static. This makes sure that testpmd, and any examples built as part of a development build, are runnable without being installed. Signed-off-by: Bruce Richardson --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 28d37ff7a..35d303d5a 100644 --- a/meson.build +++ b/meson.build @@ -32,7 +32,7 @@ project('DPDK', 'C', version: '17.11.0', license: 'BSD', - default_options: ['buildtype=release'], + default_options: ['buildtype=release', 'default_library=static'], meson_version: '>= 0.41' )