]> git.saurik.com Git - apt.git/blobdiff - buildlib/library.mak
I want to rid the world of solaris. :|
[apt.git] / buildlib / library.mak
index b0cf47615d56efb9d32e9a8bb153429f3fa3cdb9..54acb6dd460def833b2129c3998bbaac2fa1143c 100644 (file)
@@ -45,7 +45,7 @@ $(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR)
        
 # The binary build rule
 $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
-       -rm -f lib$($(@F)-LIBRARY).so* 2> /dev/null
+       -rm -f $(LIB)/lib$($(@F)-LIBRARY).so* 2> /dev/null
        echo Building shared library $@
        $(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) -o $@ \
           -Wl,-soname -Wl,$($(@F)-SONAME) -shared $(filter %.opic,$^) \