]> git.saurik.com Git - apt.git/blobdiff - buildlib/staticlibrary.mak
if file is inaccessible for _apt, disable privilege drop in acquire
[apt.git] / buildlib / staticlibrary.mak
index ce9259dc03014c0629c7077b0177b505fa6c3a8c..86908700ffbfda6f51baea9c415ff0c65669a627 100644 (file)
@@ -50,7 +50,7 @@ endif
 vpath %.cc $(SUBDIRS)
 $(OBJ)/%.o: %.cc
        echo Compiling $< to $@
-       $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
+       $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) -o $@ $(abspath $<)
        $(DoDep)
 
 # Include the dependencies that are available