Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | When using make -j with the 'install' target, it's possible for altbininstall |
| 2 | (which normally creates BINDIR) and libainstall (which doesn't, though it |
| 3 | installs python-config there) to race, resulting in a failure due to |
| 4 | attempting to install python-config into a nonexistent BINDIR. Ensure it also |
| 5 | exists in the libainstall target. |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | --- Python-2.7.3.orig/Makefile.pre.in |
| 10 | +++ Python-2.7.3/Makefile.pre.in |
| 11 | @@ -1008,7 +1008,7 @@ LIBPL= $(LIBP)/config |
| 12 | LIBPC= $(LIBDIR)/pkgconfig |
| 13 | |
| 14 | libainstall: all python-config |
| 15 | - @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC); \ |
| 16 | + @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC) $(BINDIR); \ |
| 17 | do \ |
| 18 | if test ! -d $(DESTDIR)$$i; then \ |
| 19 | echo "Creating directory $$i"; \ |