diff options
Diffstat (limited to 'src/gns/nss/Makefile.am')
-rw-r--r-- | src/gns/nss/Makefile.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gns/nss/Makefile.am b/src/gns/nss/Makefile.am index 0569fce7d..f2a6daac2 100644 --- a/src/gns/nss/Makefile.am +++ b/src/gns/nss/Makefile.am | |||
@@ -21,20 +21,18 @@ EXTRA_DIST = map-file | |||
21 | 21 | ||
22 | AM_LDFLAGS=-avoid-version -module -export-dynamic | 22 | AM_LDFLAGS=-avoid-version -module -export-dynamic |
23 | 23 | ||
24 | if HAVE_SUDO | 24 | nssdir = $(NSS_DIR) |
25 | nssdir = /lib/ | ||
26 | else | ||
27 | nssdir = $(libdir) | ||
28 | endif | ||
29 | 25 | ||
30 | LIBTOOL = $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool | 26 | LIBTOOL = $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool |
31 | 27 | ||
32 | if !MINGW | 28 | if !MINGW |
29 | if INSTALL_NSS | ||
33 | nss_LTLIBRARIES = \ | 30 | nss_LTLIBRARIES = \ |
34 | libnss_gns.la \ | 31 | libnss_gns.la \ |
35 | libnss_gns4.la \ | 32 | libnss_gns4.la \ |
36 | libnss_gns6.la | 33 | libnss_gns6.la |
37 | endif | 34 | endif |
35 | endif | ||
38 | 36 | ||
39 | sources = nss_gns_query.h nss_gns_query.c | 37 | sources = nss_gns_query.h nss_gns_query.c |
40 | 38 | ||