about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 5eadf35eb7..daf4960d86 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -57,7 +57,9 @@ tests		:= tstgetopt testfnm runtests wordexp-test runptests
 test-srcs	:= globtest
 others		:= getconf
 install-bin	:= getconf
+ifeq (yes,$(build-static))
 install-lib	:= libposix.a
+endif
 gpl2lgpl := getopt.c getopt1.c getopt.h	regex.c regex.h
 
 before-compile	:= testcases.h ptestcases.h