]> git.saurik.com Git - apt.git/blobdiff - buildlib/library.mak
Merge branch 'debian/experimental' into feature/srv-records
[apt.git] / buildlib / library.mak
index ef1306b665a6b822b817a1cdd7fc2d9024bf1ea4..cc0286d7e7d44833a82fc11c5fb20758854da295 100644 (file)
@@ -63,7 +63,7 @@ $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
 vpath %.cc $(SUBDIRS)
 $(OBJ)/%.opic: %.cc $(LIBRARYDEPENDS)
        echo Compiling $< to $@
-       $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) $(PICFLAGS) -o $@ $<
+       $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) $(PICFLAGS) -o $@ $(abspath $<)
        $(DoDep)
 
 # Include the dependencies that are available