Delete correctly the library before it is created again
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Jul 2002 18:19:10 +0000 (18:19 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 Jul 2002 18:19:10 +0000 (18:19 +0000)
build/module.tpl

index 589c5346b418dda8204e53a04e6d6d6da0677ee1..f8a18358003b8af1729485b4bfe8b81ebbd1a4ad 100644 (file)
@@ -139,7 +139,7 @@ endif
          $(MUTE)TMPDIR=/tmp/@MODULE@$$$$.`date +%M%S` ; \
          export TMPDIR; mkdir $$TMPDIR ; cd $$TMPDIR ; \
          find $(CURDIR)/@MODULE@/tgt_$(ALICE_TARGET) -name '*.o' -exec ln -s {} . \; ;\
-      rm -f $@ ;\
+      rm -f $(CURDIR)/$@ ;\
          $(SHLD) $(SOFLAGS) $(@PACKAGE@ELIBSDIR) $(@PACKAGE@ELIBS) -o $(CURDIR)/$@ $(notdir $(@PACKAGE@O) $(@PACKAGE@DO)) $(SHLIB) ;\
       cd $(CURDIR) ; rm -rf $$TMPDIR
          $(MUTE)chmod a-w $@