aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-05 14:15:49 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-05 14:15:49 +0000
commit99b51a23b3f8e261c97d03feb186eae8aa703acc (patch)
treefbf4efbfa3e2246a1be9d5d2f76ded1ebec7eb76
parent73c4802b767f1d9c14e6af0302573b57145fd419 (diff)
downloadpaludis-99b51a23b3f8e261c97d03feb186eae8aa703acc.tar.gz
paludis-99b51a23b3f8e261c97d03feb186eae8aa703acc.tar.xz
Try to avoid icky rebuilds
-rw-r--r--ruby/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/Makefile.am b/ruby/Makefile.am
index c9d8703..17afa3c 100644
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -101,9 +101,9 @@ lib_LTLIBRARIES = libpaludisruby.la
libpaludisruby_la_CXXFLAGS = $(AM_CXXFLAGS) -I. -I@RUBY_SITEARCHDIR@ -I@RUBY_ARCHDIR@
paludis_ruby_so.o : paludis_ruby_so.cc
- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) \
+ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) \
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) -I$(RUBY_SITEARCHDIR) -I$(RUBY_ARCHDIR) -c \
- -o $@ $(srcdir)/paludis_ruby_so.cc
+ -o $@ $(srcdir)/paludis_ruby_so.cc ; then ln -s .libs/paludis_ruby_so.o $@ ; else rm -f $@ ; exit 1 ; fi
if ENABLE_QA