about summary refs log tree commit diff
path: root/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 6c120bab65..c8b2302c99 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -58,24 +58,16 @@ routines := brk sbrk sstk ioctl \
 	    err error ustat \
 	    getsysstats dirname regexp
 aux := init-misc
-distribute := bsd-compat.c
-extra-objs := bsd-compat.o
 install-lib := libbsd-compat.a libg.a
-non-lib.a := libbsd-compat.a
 gpl2lgpl := error.c error.h
 
 tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt
 
 include ../Rules
 
-
-$(objpfx)libbsd-compat.a: $(objpfx)bsd-compat.o
-	rm -f $@
-	ln $< $@
-
+$(objpfx)libbsd-compat.a: $(dep-dummy-lib); $(make-dummy-lib)
 $(objpfx)libg.a: $(dep-dummy-lib); $(make-dummy-lib)
 
-
 CFLAGS-init-misc.c = -fkeep-inline-functions
 
 ifeq ($(build-shared),yes)