Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81638f1

Browse files
committed
Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.
1 parent 21967d0 commit 81638f1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ sharedinstall: sharedmods
10351035
--prefix=$(prefix) \
10361036
--install-scripts=$(BINDIR) \
10371037
--install-platlib=$(DESTSHARED) \
1038-
--root=/$(DESTDIR)
1038+
--root=$(DESTDIR)/
10391039

10401040
# Here are a couple of targets for MacOSX again, to install a full
10411041
# framework-based Python. frameworkinstall installs everything, the
@@ -1115,7 +1115,7 @@ scriptsinstall:
11151115
./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
11161116
--prefix=$(prefix) \
11171117
--install-scripts=$(BINDIR) \
1118-
--root=/$(DESTDIR)
1118+
--root=$(DESTDIR)/
11191119

11201120
# Build the toplevel Makefile
11211121
Makefile.pre: Makefile.pre.in config.status

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ Extensions
192192
Build
193193
-----
194194

195+
- Issue #11411: Fix 'make DESTDIR=' with a relative destination.
196+
195197
- Issue #11184: Fix large-file support on AIX.
196198

197199
- Issue #941346: Fix broken shared library build on AIX.

0 commit comments

Comments
 (0)