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

Skip to content

Commit d2544e3

Browse files
committed
Give compileall a -d option so it works correctly in the face of
DESTDIR being non-null.
1 parent c44dbc4 commit d2544e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/OSX/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ installmacsubtree:
223223

224224

225225
$(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
226-
$(BUILDPYTHON) -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
227-
$(BUILDPYTHON) -O -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
226+
$(BUILDPYTHON) -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
227+
$(BUILDPYTHON) -O -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
228228

229229
#
230230
# We use the full name here in stead of $(INSTALLED_PYTHONW), because

0 commit comments

Comments
 (0)