X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/blobdiff_plain/2404d301d7522f2b3f4a4f359259bf4e5ebd9778..f4061d470dcb3543e35a447e4613ac890eb05f36:/Makefile.am diff --git a/Makefile.am b/Makefile.am index e67c2d5..a22eb6e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,12 +4,8 @@ libnss_nonlocal_la_SOURCES = \ nonlocal.h nsswitch-internal.h libnss_nonlocal_la_LDFLAGS = \ -version-info 2:0:0 \ - -export-symbols-regex '^_nss_nonlocal_' - -noinst_PROGRAMS = .linktest -_linktest_SOURCES = -_linktest_LDADD = libnss_nonlocal.la -_linktest_LDFLAGS = -nostdlib -entry=0 + -export-symbols-regex '^_nss_nonlocal_' \ + -no-undefined -Wl,-z,defs install-exec-hook: rm -f $(DESTDIR)$(libdir)/libnss_nonlocal.so