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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 9365fd2a1a..7a233f5486 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -58,7 +58,9 @@ routines := brk sbrk sstk ioctl \
 	    err error ustat \
 	    getsysstats dirname regexp
 aux := init-misc
+ifeq ($(build-static),yes)
 install-lib := libbsd-compat.a libg.a
+endif
 gpl2lgpl := error.c error.h
 
 tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent