From patchwork Thu Mar 29 07:53:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 10314665 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A81F60212 for ; Thu, 29 Mar 2018 07:54:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 211872A166 for ; Thu, 29 Mar 2018 07:54:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 160B22A1D6; Thu, 29 Mar 2018 07:54:20 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 090172A166 for ; Thu, 29 Mar 2018 07:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189AbeC2HyP (ORCPT ); Thu, 29 Mar 2018 03:54:15 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36679 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeC2HyH (ORCPT ); Thu, 29 Mar 2018 03:54:07 -0400 Received: by mail-pg0-f65.google.com with SMTP id 201so2569972pgg.3 for ; Thu, 29 Mar 2018 00:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=hye44ITLdN0iyPCE1i/9FAJMLPziiiXgaXxhiTfLsj0=; b=Utv8SGCtXIF+5Jo3jZR6dTx40x0XyGhM+5y91F+avY9Jdl5yl/8AkFFiSWAuPT5x65 6/sqaaLqu2UhO8dcuM41vv3MEITRAqjpTo6ZIM07Rbi39gp3nG8MYFod50EjyWW/S+Ll fOkwGZ0XdbPADGqwJQS3oBniyiaxhB6Qj7qFdmbDUVvi0rHl7wgFcxRwSvsKF4mU2/Do cDil/gvnGQoL7H2FHZrKZ4t2xohs6K3dtMZfNEYk8lYsL7MUD0PJNEKOQsO9GXX9eWUt c4hSExQLP2yVEiSJQBQUX2F6NSA0DY/RqnuhT9OHYIz+fpQ6ewlyy9WFAqYjhS9QOyoN g81w== 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:in-reply-to :references:in-reply-to:references; bh=hye44ITLdN0iyPCE1i/9FAJMLPziiiXgaXxhiTfLsj0=; b=YNhTWtQBPsqf4n1LviiwSAjmy4f0NrUge7QYO5BD+rOwXyGEUlTmgglj+YFa1/32AB 0eqhOrvhnUaoBTJi90lt5lyPvzBBbOAR2+vbYhwjlF7X2fR3JuV34HbnfZTF5Ag+3OLs cYTrSn1JjxvthqlBIpwLfn6UMF/J+9HNwAvFST26/WmjhNNF6RRP1Q4lWlBbsMvmr631 aa3/0167DEguvsLIXDAj2ORTQqGvjtGSzmmaOPydwfn8ySlXdP5b/XvlPH9MbhQN7AMz P9wvwm0Wa966AhSfDB2asFj6Bg9GEyiAiidk0yXA1tCznhSKqiS4qjl82gdkW0dmbdPM qfyA== X-Gm-Message-State: AElRT7FDTxGmkUks58JyUf3U5zRmQ7YITOOec9X6TaljRYyO5Wn+rOx8 q9n6ExaNyJs80sxNFeTRK+3SB0UTQak= X-Google-Smtp-Source: AIpwx49nZxpqqDTBWCc4hwn+CwClqIp/v1HkgXU57SBsHott+UpnowbPuUBNV2R0tSCqlSqNSEhN1A== X-Received: by 10.98.67.217 with SMTP id l86mr5601754pfi.40.1522310046895; Thu, 29 Mar 2018 00:54:06 -0700 (PDT) Received: from localhost.localdomain ([2601:602:8801:8110:e6a7:a0ff:fe0b:c9a8]) by smtp.gmail.com with ESMTPSA id j65sm9763790pge.58.2018.03.29.00.54.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 00:54:06 -0700 (PDT) From: Omar Sandoval To: linux-btrfs@vger.kernel.org Cc: kernel-team@fb.com Subject: [PATCH 4/5] libbtrfsutil: always build libbtrfsutil.so.$MAJOR Date: Thu, 29 Mar 2018 00:53:56 -0700 Message-Id: <7c3074bb611c599bd4751d0361a1888b739e23cc.1522309741.git.osandov@fb.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Omar Sandoval Otherwise, make test-libbtrfsutil from a fresh checkout fails. Signed-off-by: Omar Sandoval --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 699f864d..fbd6677a 100644 --- a/Makefile +++ b/Makefile @@ -417,7 +417,7 @@ libbtrfsutil.so.$(libbtrfsutil_major) libbtrfsutil.so: libbtrfsutil.so.$(libbtrf $(Q)$(LN_S) -f $< $@ ifeq ($(PYTHON_BINDINGS),1) -libbtrfsutil_python: libbtrfsutil.so libbtrfsutil/btrfsutil.h +libbtrfsutil_python: libbtrfsutil.so.$(libbtrfsutil_major) libbtrfsutil.so libbtrfsutil/btrfsutil.h @echo " [PY] libbtrfsutil" $(Q)cd libbtrfsutil/python; \ CFLAGS= LDFLAGS= $(PYTHON) setup.py $(SETUP_PY_Q) build_ext -i build