From patchwork Wed Jan 3 02:59:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 123267 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp9677239qgn; Tue, 2 Jan 2018 19:01:17 -0800 (PST) X-Google-Smtp-Source: ACJfBosZsuKM+GEdDqF/X63+/b96+3MHNqcPA/ubOtTSuZ7u8giOT7lK/T/emCPeqGw0n2aFNilh X-Received: by 10.55.189.2 with SMTP id n2mr94420qkf.155.1514948477490; Tue, 02 Jan 2018 19:01:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514948477; cv=none; d=google.com; s=arc-20160816; b=A+XIrmP9du7AuIeZiv+S8QYiavDb5QatjnkzqRdMnJYxuiK29kEN2bli0b7Myy7jtM M0amIVBreJuocPfyCKLw/8XrQyZcKxtthlTTMPEPJDympQjX6eldIVukrZt7DxuTqcw9 PSHlnqv3k0cqWuKgrkMwytQMFcFTv3QcCpfqMqlPxQW8y/e5Z5X/xgtgqDzjGLXsjSl/ Q+qVEbG4fhsM0nwp5NIZWc7WhUTL6MVoMgJNqBTyId7cy7xEMDffPlGAiJ+e/fTC1GiG 6UaC1hZ9DloFVFjUmgpImiK0ttUXKuxsD+cjQ/5SZXYjeVFHTIo3nWFqCk5ey4yAfWec Kitg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=paM6qydrOBXtmNk+UbOvE9S6aVMA7jhIXLO1rYDFVzU=; b=lEBYB+ytih30DIRiOWvFxIVKdAuYPMi7/z6hNNepxYJP+oSvHvqNJsdCRi70ecA0TF MMEO0EqiV6GHbsad5ZxgJEc4FRBljVOLjqnnyHrf0ksQtieQtA5T+8OZj61RMTIKiGay gH0UGaF7J0OXOKoaxYlW1ojPlSf1QMcnQJqrwY1f1a5heNKfaYf4SzopAsv9+h1guxeF UvasbBZLb9Xb3zxR1TrS10WPxKoVzeYzy/+8KRHj8ES41pAUdGrKIg3xJUIsdntu8prA bSV2/5g1+11RZHJPVvzuMhGeYrFv/y7i7l8ppPVXJLyAvcl5i+9N+oGXanl7y8g409TK lP1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id o123si72022qkc.114.2018.01.02.19.01.17; Tue, 02 Jan 2018 19:01:17 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 2EA0760B0E; Wed, 3 Jan 2018 03:01:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 79977608E8; Wed, 3 Jan 2018 03:00:22 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id AAA7160846; Wed, 3 Jan 2018 03:00:13 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 3EFFB607BA for ; Wed, 3 Jan 2018 03:00:12 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward100o.mail.yandex.net (Yandex) with ESMTP id C44492A21E19 for ; Wed, 3 Jan 2018 06:00:10 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iIdyenWqwt-0Aoe1ZLA; Wed, 03 Jan 2018 06:00:10 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zIYVm0231v-0AZmnk6t; Wed, 03 Jan 2018 06:00:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 3 Jan 2018 05:59:55 +0300 Message-Id: <1514948409-30862-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514948409-30862-1-git-send-email-odpbot@yandex.ru> References: <1514948409-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v9 1/15] helper: link against libpthread and libodp-linux X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov libodphelper.so uses symbols from libpthread and libodp-linux.so, link it aganst those libraries. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 3bb30027436d5acc0d387f475d127a6f7ed86496 **/ helper/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper/Makefile.am b/helper/Makefile.am index ee1c17d6d..ebb67346c 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -10,6 +10,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include +AM_CFLAGS = $(PTHREAD_CFLAGS) AM_LDFLAGS = -version-number '$(ODPHELPER_LIBSO_VERSION)' @@ -60,4 +61,6 @@ __LIB__libodphelper_la_SOURCES += \ linux/thread.c endif +__LIB__libodphelper_la_LIBADD = $(PTHREAD_LIBS) $(LIB)/libodp-linux.la + lib_LTLIBRARIES = $(LIB)/libodphelper.la