Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | I was seeing various issues with parallel make, mainly due to to what was likely |
| 2 | partially installed headers. If you change into the source directory and |
| 3 | "NOISY=1 make ../obj/apt-pkg/sourcelist.opic" in apt-pkg, you'll see it |
| 4 | doesn't have any dependencies on the headers being installed. This patch |
| 5 | fixes that so things build correctly. |
| 6 | |
| 7 | RP 2012/3/19 |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Index: apt-0.9.9.4/buildlib/library.mak |
| 12 | =================================================================== |
| 13 | --- apt-0.9.9.4.orig/buildlib/library.mak 2013-07-31 15:45:07.320440575 +0300 |
| 14 | +++ apt-0.9.9.4/buildlib/library.mak 2013-07-31 15:46:49.440440561 +0300 |
| 15 | @@ -61,7 +61,7 @@ |
| 16 | |
| 17 | # Compilation rules |
| 18 | vpath %.cc $(SUBDIRS) |
| 19 | -$(OBJ)/%.opic: %.cc $(LIBRARYDEPENDS) |
| 20 | +$(OBJ)/%.opic: %.cc $(LIBRARYDEPENDS) $($(LOCAL)-HEADERS) |
| 21 | echo Compiling $< to $@ |
| 22 | $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) $(PICFLAGS) -o $@ $< |
| 23 | $(DoDep) |