From patchwork Sun Mar 17 20:50:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Rossi X-Patchwork-Id: 10856579 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E70D1575 for ; Sun, 17 Mar 2019 20:50:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7961929224 for ; Sun, 17 Mar 2019 20:50:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6DA5D2922A; Sun, 17 Mar 2019 20:50:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 06BFD292AA for ; Sun, 17 Mar 2019 20:50:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 51D5389811; Sun, 17 Mar 2019 20:50:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3872D897F0 for ; Sun, 17 Mar 2019 20:50:30 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id f3so11183651wmj.4 for ; Sun, 17 Mar 2019 13:50:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pklts3XlbEWIxuwua3CVpPlKHVBZQTDCpCObi98TFbY=; b=GKWdKuV9asZWbjZmobFeaQuOTNAKH02UEL4HzNkuaeN+9elXyfnzf8tNYqA/bqxZqG o1P6acQLhhQVbUtqN5stGihcXJ6g+DDeve2mnAQODPgROhk/xljcsubLXYNRZ3Mgofo4 9Uh2Ghz0N/JBKOnaNPbqYpbSE5ut33QOg6etp/zKmatLo6m2U2Sw6evazbr8PO8a+5w1 GA/KHeRxuYG1tmT4vTGeX3kDAtMshSHn9XqJJqAYS4oxSeT5DRtcvZlAJi3kYWZZAynh 3LmzLtmxRyOeJU1b8vG/aK3x9E7+HUDV0L9m5SaUibV9PMkm97YE/iPzDgxANPvMNWrv I+Nw== X-Gm-Message-State: APjAAAUvz1ZjdcCI10CDN7zpyFOBMSDaQswzZzPxfoWy4E7LMGlwocEX Jn9VdZXlJr6cENFf0UL049QPbetX X-Google-Smtp-Source: APXvYqxTZhJ7GlxrmLkxGthO6qWRE4pc1jO70H/weDy7ZBjCqsxGxkfgVRVe9IwdIu54EgIPqcWrtA== X-Received: by 2002:a7b:c404:: with SMTP id k4mr9246882wmi.117.1552855828616; Sun, 17 Mar 2019 13:50:28 -0700 (PDT) Received: from utente-Giga.homenet.telecomitalia.it (host170-73-dynamic.30-79-r.retail.telecomitalia.it. [79.30.73.170]) by smtp.googlemail.com with ESMTPSA id c10sm7364528wrr.1.2019.03.17.13.50.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 13:50:27 -0700 (PDT) From: Mauro Rossi To: dri-devel@lists.freedesktop.org Subject: [PATCH] android: libdrm_platform: add liblog shared dependency Date: Sun, 17 Mar 2019 21:50:12 +0100 Message-Id: <20190317205012.8419-1-issor.oruam@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pklts3XlbEWIxuwua3CVpPlKHVBZQTDCpCObi98TFbY=; b=vc0MbSYTr3JpfeLdSK6uPajGPgezOxWlo/sl/6HYu6I6iQG5V48pKvKs4CSfkH1oxx dlibHFGJ0hARMn0ma6DWp+n9jKjPjHdUy0Bxp+eCdrGBOSlOuLiP+JoGv/5V9XPZxFwT Dmy2ENnxcYqvp+bLbUD3MGzOllcJJtVrSFdcu+Qf/fvIhmK4EW6rLJYS3RisEJhYt9un stV2d9dKhSF83SW3JQxWD0MUC+3rkma+6U2k7kBE2ohg1BqfSDEOwO0eindnHL8qLvYA BdQXHmpbrHe4sM1dPO2O5T5mvji9MxMl4IyjiaCQzUGWGMheJigPCyOMYQYW24xk15OS t/pg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robert.foss@collabora.com, Mauro Rossi Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Fixes the following building error: FAILED: $(OUT)/obj/SHARED_LIBRARIES/libdrm_platform_intermediates/LINKED/libdrm_platform.so ... external/libdrm/xf86drm.c:146: error: undefined reference to '__android_log_vprint' clang.real: error: linker command failed with exit code 1 (use -v to see invocation) Signed-off-by: Mauro Rossi Reviewed-by: Robert Foss --- Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android.mk b/Android.mk index f2c78bc1..f832b24e 100644 --- a/Android.mk +++ b/Android.mk @@ -61,6 +61,9 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \ $(LOCAL_PATH) \ $(LOCAL_PATH)/include/drm +LOCAL_SHARED_LIBRARIES := \ + liblog + LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/include/drm