From patchwork Fri Jan 26 18:05:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 25590 Received: (qmail 43623 invoked by alias); 26 Jan 2018 18:05:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 43593 invoked by uid 89); 26 Jan 2018 18:05:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: mail-out.m-online.net X-Auth-Info: 0kQljpR86Ohypw8p6YHVkXuwc4DdqJYXdjAofF1mpmZ3acIWkJwVQSVWhBpoY64V From: Andreas Schwab To: fweimer@redhat.com (Florian Weimer) Cc: libc-alpha@sourceware.org Subject: [PATCH] Build only shared libnsl objects if NIS is disabled (bug 22701) References: <20180111182159.2E32B4070C60A@oldenburg.str.redhat.com> X-Yow: Yes, but will I see the EASTER BUNNY in skintight leather at an IRON MAIDEN concert? Date: Fri, 26 Jan 2018 19:05:46 +0100 In-Reply-To: <20180111182159.2E32B4070C60A@oldenburg.str.redhat.com> (Florian Weimer's message of "Thu, 11 Jan 2018 19:21:59 +0100") Message-ID: <878tckxzph.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 [BZ #22701] * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]: Build only shared objects. diff --git a/nis/Makefile b/nis/Makefile index 01ec4dc357..e7497f7242 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -74,7 +74,8 @@ else # not $(build-obsolete-nsl) # is not installed. install-lib-ldscripts = libnsl.so $(inst_libdir)/libnsl.so: -libnsl-inhibit-o = .o # Build no static libnsl.a. +# Build only shared libnsl. +libnsl-inhibit-o = $(filter-out .os,$(object-suffixes)) endif # not $(build-obsolete-nsl)