aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1dc527b..c622a5e 100755
--- a/configure
+++ b/configure
@@ -176,10 +176,10 @@ fi
# Are we in a separate build tree? If so, link the Makefile
# so that 'make' works.
-if test ! -e Makefile; then
+if test ! -e Makefile || test -s Makefile; then
echo "linking Makefile..."
BUILD_INC="-I $(pwd)"
- ln -s "${SRCDIR}/Makefile" .
+ ln -sf "${SRCDIR}/Makefile" .
fi
generate_config