summaryrefslogtreecommitdiff
path: root/libnsl
diff options
context:
space:
mode:
Diffstat (limited to 'libnsl')
-rw-r--r--libnsl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnsl/Makefile b/libnsl/Makefile
index 7566c2dfd..e7ff6e018 100644
--- a/libnsl/Makefile
+++ b/libnsl/Makefile
@@ -45,8 +45,8 @@ $(OBJ): Makefile
shared: all
$(LD) $(LDFLAGS) -soname=$(LIBNSL_SHARED).$(MAJOR_VERSION) \
-o $(LIBNSL_SHARED_FULLNAME) --whole-archive $(LIBNSL) \
- --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
- -L$(TOPDIR)/lib -lc;
+ --no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \
+ -L$(TOPDIR)lib -lc;
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED).$(MAJOR_VERSION)
$(INSTALL) -m 644 $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib