summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gi/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/Makefile.am b/gi/Makefile.am
index bda8a34..fad95ea 100644
--- a/gi/Makefile.am
+++ b/gi/Makefile.am
@@ -44,7 +44,7 @@ _gi_la_SOURCES = \
pygi_LTLIBRARIES = _gi.la
.la.so:
- $(LN_S) .libs/$@ $@ || true
+ rm -f $@ && $(LN_S) .libs/$@ $@
all: $(pygi_LTLIBRARIES:.la=.so)
clean-local: