From patchwork Wed Feb 25 14:28:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 5880481 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D7985BF440 for ; Wed, 25 Feb 2015 14:28:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B3E22038D for ; Wed, 25 Feb 2015 14:28:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 46B272038A for ; Wed, 25 Feb 2015 14:28:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C16A6E66A; Wed, 25 Feb 2015 06:28:42 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by gabe.freedesktop.org (Postfix) with ESMTP id 700906E671 for ; Wed, 25 Feb 2015 06:28:36 -0800 (PST) Received: by mail-wi0-f181.google.com with SMTP id r20so5467121wiv.2 for ; Wed, 25 Feb 2015 06:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kB9XJ7xBMnYAvap56Gu1VRcQz8wJCaaWd6C4+XBPOAc=; b=P9HIwKwGeEMOrIdOm1yllQ0dSrna2nR5X4LvktxMEcWgXe8YA3ysjGWb4nPeyzXyqh DXEyhZancfz280/urYQE+om/P9uBhDxqnRVx1dgrSKn9X4v5WDLzLx5dPTgv9uLKgHN1 GnGBCVlCODtB6E5sOnlx6OT9rPAyPpUXKPYpFcwXUAYPeziycHrwvzNg/eZ0Mm+3PZoc 8st7rcUP3h/svS6omprIPotwxyCR16dQFWJGSIlTbYtiU2nGeQ+R29hrSVgo3XreCzr/ Dc+AZEH7B7VH+xRLruQk5ah3nhhLZi2eNGDn3ulMxywPaOifkX8FAHWczxHRXp1sEdCJ I1eA== X-Received: by 10.180.105.40 with SMTP id gj8mr41468784wib.67.1424874515750; Wed, 25 Feb 2015 06:28:35 -0800 (PST) Received: from arch-laptop.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by mx.google.com with ESMTPSA id m9sm25340446wiz.24.2015.02.25.06.28.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 06:28:34 -0800 (PST) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 5/5] tests: automake: keep the libs link at the final stage Date: Wed, 25 Feb 2015 14:28:16 +0000 Message-Id: <1424874496-13540-5-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1424874496-13540-1-git-send-email-emil.l.velikov@gmail.com> References: <1424874496-13540-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently the static archive libdrmtest.la links against libdrm.la. Only to have both added to the executables' LDADD. Simplify things a bit, by doing the link in the final module (the executables/tests in this case). Signed-off-by: Emil Velikov --- tests/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 90f6405..f008c06 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -38,11 +38,10 @@ libdrmtest_la_SOURCES = \ drmtest.c \ drmtest.h -libdrmtest_la_LIBADD = \ - $(top_builddir)/libdrm.la \ +LDADD += \ + libdrmtest.la \ $(LIBUDEV_LIBS) -LDADD += libdrmtest.la XFAIL_TESTS = \ auth \