[pygobject] Fix occasional build failures after the 'ltihooks.py' removal



commit 96f958cd66ac99130ef7b2049db77b6a9bbb20f9
Author: Paul Pogonyshev <pogonyshev gmx net>
Date:   Wed Apr 29 21:46:31 2009 +0300

    Fix occasional build failures after the 'ltihooks.py' removal
    
    Simply amend all related symbolic link creation so that any errors are
    ignored.
---
 gio/Makefile.am     |    2 +-
 glib/Makefile.am    |    2 +-
 gobject/Makefile.am |    2 +-
 tests/Makefile.am   |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gio/Makefile.am b/gio/Makefile.am
index a0f356d..a3f37e5 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -100,5 +100,5 @@ all: $(pkgpyexec_LTLIBRARIES:.la=.so)
 clean-local:
 	rm -f $(pkgpyexec_LTLIBRARIES:.la=.so)
 .la.so:
-	$(LN_S) .libs/$@ $@
+	$(LN_S) .libs/$@ $@ || true
 endif
diff --git a/glib/Makefile.am b/glib/Makefile.am
index 8b178a4..b471259 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -56,4 +56,4 @@ all: $(pyglib_LTLIBRARIES:.la=.so)
 clean-local:
 	rm -f $(pyglib_LTLIBRARIES:.la=.so)
 .la.so:
-	$(LN_S) .libs/$@ $@
+	$(LN_S) .libs/$@ $@ || true
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index 9d0c824..cab4e86 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -77,4 +77,4 @@ all: $(pygobject_LTLIBRARIES:.la=.so)
 clean-local:
 	rm -f $(pygobject_LTLIBRARIES:.la=.so)
 .la.so:
-	$(LN_S) .libs/$@ $@
+	$(LN_S) .libs/$@ $@ || true
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 493fe9f..e546f50 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -62,4 +62,4 @@ all: $(LTLIBRARIES:.la=.so)
 clean-local:
 	rm -f $(LTLIBRARIES:.la=.so)
 .la.so:
-	$(LN_S) .libs/$@ $@
+	$(LN_S) .libs/$@ $@ || true



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]