]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - hesiod/Makefile
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / hesiod / Makefile
index b9f9b071889e708eeb46874bb6b9da15e5d9a9a0..d68a8597b35edf1972aa6ee315fe4311f79583a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 2000, 2001, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2016 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +20,8 @@
 #
 subdir := hesiod
 
+include ../Makeconfig
+
 extra-libs := libnss_hesiod
 extra-libs-others = $(extra-libs)
 
@@ -33,12 +35,7 @@ libnss_hesiod-inhibit-o      = $(filter-out .os,$(object-suffixes))
 
 include ../Rules
 
-# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
-# This ensures they will load libc.so for needed symbols if loaded by
-# a statically-linked program that hasn't already loaded it.
-# The Hesiod NSS modules also needs the resolver and some help from
+# The Hesiod NSS module also needs the resolver and some help from
 # the file service.
 $(objpfx)libnss_hesiod.so: $(common-objpfx)resolv/libresolv.so \
-                          $(common-objpfx)nss/libnss_files.so \
-                          $(common-objpfx)libc.so \
-                          $(common-objpfx)libc_nonshared.a
+                          $(common-objpfx)nss/libnss_files.so