summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/prog.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index 4e27bec..c710517 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -12,6 +12,8 @@ include ${MK}/sys.mk
# and we need to use the one in /libexec instead of /usr/libexec
_DYNLINK_SH= if test -e /libexec/ld.elf_so; then \
echo "-Wl,-dynamic-linker=/libexec/ld.elf_so"; \
+ else \
+ echo ""; \
fi
_DYNLINK!= ${_DYNLINK_SH}
LDFLAGS+= ${_DYNLINK}$(shell ${_DYNLINK_SH})