summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/targets.mak16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/targets.mak b/package/targets.mak
index 9583a50..2ecfe72 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -1,4 +1,4 @@
-BIN_TARGETS = \
+BIN_TARGETS := \
background \
backtick \
cd \
@@ -41,11 +41,13 @@ umask \
unexport \
wait
-SBIN_TARGETS =
-LIBEXEC_TARGETS =
+SBIN_TARGETS :=
+LIBEXEC_TARGETS :=
-SHARED_LIBS = \
-libexecline.so
+ifdef DO_SHARED
+SHARED_LIBS := libexecline.so
+endif
-STATIC_LIBS = \
-libexecline.a
+ifdef DO_STATIC
+STATIC_LIBS := libexecline.a
+endif