summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 92417502ef..e80e23c8a2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -105,7 +105,7 @@ libmodphp4-so.a: all-recursive $(OBJS) @REGEX_LIB@
# Apache 1.3 shared module
libphp4.so: $(srcdir)/mod_php4.c libmodphp4-so.a @REGEX_LIB@
- -@$(LN_S) $(srcdir)/mod_php4.c mod_php4.c
+ -@test -f mod_php4.c || test -L mod_php4.c || $(LN_S) $(srcdir)/mod_php4.c mod_php4.c
$(APXS) $(INCLUDE) -c -o libphp4.so $(APXS_LDFLAGS) mod_php4.c libmodphp4-so.a
regex/libregex.a: