aboutsummaryrefslogtreecommitdiffstats
path: root/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/Makefile')
-rw-r--r--modules/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/Makefile b/modules/Makefile
index 694a8c9..7d6634c 100644
--- a/modules/Makefile
+++ b/modules/Makefile
@@ -40,13 +40,15 @@ install: all
# Ad hoc compilation rules for modules which need auxilliary libraries
#
lookup_yp.so: lookup_yp.c
- $(CC) $(SOLDFLAGS) $(CFLAGS) -o lookup_yp.so lookup_yp.c $(YPLIBS)
+ $(CC) $(SOLDFLAGS) $(CFLAGS) -o lookup_yp.so lookup_yp.c $(LIBNSL)
$(STRIP) lookup_yp.so
lookup_nisplus.so: lookup_nisplus.c
- $(CC) $(SOLDFLAGS) $(CFLAGS) -o lookup_nisplus.so lookup_nisplus.c $(YPLIBS)
+ $(CC) $(SOLDFLAGS) $(CFLAGS) -o lookup_nisplus.so lookup_nisplus.c \
+ $(LIBNSL)
$(STRIP) lookup_nisplus.so
lookup_hesiod.so: lookup_hesiod.c
$(CC) $(SOLDFLAGS) $(CFLAGS) -I$(HESIOD)/include -o lookup_hesiod.so \
- lookup_hesiod.c $(HESIOD_LIBS)
+ lookup_hesiod.c $(HESIOD_LIBS)
+ $(STRIP) lookup_hesiod.so