From patchwork Mon Jan 1 21:59:57 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: 123080 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8275390qgn; Mon, 1 Jan 2018 14:02:13 -0800 (PST) X-Google-Smtp-Source: ACJfBouBOTBTTNAfm3YZW7U906jeAHzbh4j+DPTs9+iq9F2KpbFngnzUs4p7mmHW9Rzgew4ITjtu X-Received: by 10.55.53.213 with SMTP id c204mr34937940qka.219.1514844133490; Mon, 01 Jan 2018 14:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514844133; cv=none; d=google.com; s=arc-20160816; b=o0QwrSa1LhDCPDFRqNfnxu74MVxQ9QulVn5b2tWxyhvRhwnxirf9M4Ym0keVkehYfi axwf7/hOfrxlku7yWoAEhXSxf9EAhdrAA7Sv+jsTXHunrv8hwZHj/+zZSbBjpnDGWLNQ Jew0lcA8a1vydgT+llYpQ1R0e9UjOLIPE36QopmVB8OffMj7a8nfGw5i3WwZ42KhV4HM GKoeq7WavyZGUQOhU6dROV8ED2XwBESjUG7cMEguNONNZOgNMIfc+Hw8HNb4Mf0VkyNn G78IskS2d9rBBJhkPmVAusqaySqLbniPa79aPjHTVyDl3gfiExWkiASiPSB4ZgZKNm0u laDw== 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=bZOaifIfgx3wYwxbvb1H25KkLVdLpv6yLgavHq5qcmw=; b=iLooktaJqMcfGKY1D/D5sH6RsW8wxJrQDuDreSgs/wF8keHAaYpUL3+VzsVyBDHcDT Dt3bcZ3oWwTRr7IKuIGkQtcHurRXRjAtE3YhntfnE8+oY2YNegvmp0CRzHeLHI+DDQNf giaeJDx2vgRD39P0ulOyYmFTiAKPxfweMJM3p64DBFDnBR4p0TAS8IrkRf9MdbQBCsae MbzCKyKXSgsSE3QgLrQs11AYAukGkUeMbrm5gWEQtB4Sn9FJDSbwlYq1ahChAOkdp96Z f6uLLl3OFcc6L0A+uBqlDzVBCmkRL5+vxjDVHFb1hRyfinhEdws+NLZMkRQoVmo6uOgH wJVQ== 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 w190si698260qkb.132.2018.01.01.14.02.13; Mon, 01 Jan 2018 14:02:13 -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 1129C616E8; Mon, 1 Jan 2018 22:02:13 +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 DC9206089D; Mon, 1 Jan 2018 22:00:31 +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 AB6AE6087F; Mon, 1 Jan 2018 22:00:14 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id BF3F560848 for ; Mon, 1 Jan 2018 22:00:10 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 70089701EA3 for ; Tue, 2 Jan 2018 01:00:09 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VXs0xNqq65-099qiiTb; Tue, 02 Jan 2018 01:00:09 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id X57ZRXUA30-08PubD04; Tue, 02 Jan 2018 01:00:08 +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: Tue, 2 Jan 2018 00:59:57 +0300 Message-Id: <1514844007-22122-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514844007-22122-1-git-send-email-odpbot@yandex.ru> References: <1514844007-22122-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v5 1/11] 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: 3b7e2ac62accecc65b9f91635a4b6ef04ca77988 **/ 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