summaryrefslogtreecommitdiff
path: root/libresolv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libresolv/Makefile')
-rw-r--r--libresolv/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libresolv/Makefile b/libresolv/Makefile
index 767ea2786..98e7166cb 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -38,9 +38,9 @@ $(LIBRESOLV): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBRESOLV) $(OBJS)
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBRESOLV)
- install -m 644 $(LIBRESOLV) $(TOPDIR)lib
+ $(INSTALL) -m 644 $(LIBRESOLV) $(TOPDIR)lib
$(OBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -53,9 +53,9 @@ shared: all
-o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc;
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION)
- install -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib;
+ $(INSTALL) -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib
(cd $(TOPDIR)lib && ln -sf $(LIBRESOLV_SHARED_FULLNAME) $(LIBRESOLV_SHARED));
(cd $(TOPDIR)lib && ln -sf $(LIBRESOLV_SHARED_FULLNAME) $(LIBRESOLV_SHARED).$(MAJOR_VERSION));