]> andersk Git - nss_nonlocal.git/blobdiff - Makefile.am
Catch undefined symbols at link time
[nss_nonlocal.git] / Makefile.am
index e67c2d5231a9dd3cbae95ed2510aaf20328606c7..a22eb6eda32166379a5a492de8f0648f291af9f5 100644 (file)
@@ -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
This page took 0.064085 seconds and 4 git commands to generate.