diff options
-rw-r--r-- | plugins/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 2561954f..1529ef86 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -128,11 +128,12 @@ libsnprintf.a: snprintf.o | |||
128 | all-local: $(check_tcp_programs) | 128 | all-local: $(check_tcp_programs) |
129 | 129 | ||
130 | $(check_tcp_programs): check_tcp | 130 | $(check_tcp_programs): check_tcp |
131 | ln -s -f check_tcp $@ | 131 | rm -f $@ |
132 | ln -s check_tcp $@ | ||
132 | 133 | ||
133 | install-exec-hook: | 134 | install-exec-hook: |
134 | cd $(DESTDIR)$(libexecdir) && \ | 135 | cd $(DESTDIR)$(libexecdir) && \ |
135 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s -f check_tcp $$i ; done | 136 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done |
136 | 137 | ||
137 | clean-local: | 138 | clean-local: |
138 | rm -f $(check_tcp_programs) | 139 | rm -f $(check_tcp_programs) |