Kaydet (Commit) d44a4e97 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch #786737: Allow building in a tree of symlinks pointing to

a readonly source.
üst 362bb515
...@@ -61,7 +61,7 @@ CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS) ...@@ -61,7 +61,7 @@ CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS)
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
# be able to build extension modules using the directories specified in the # be able to build extension modules using the directories specified in the
# environment variables # environment variables
CPPFLAGS= -I. -I$(srcdir)/Include @CPPFLAGS@ CPPFLAGS= -I. -IInclude -I$(srcdir)/Include @CPPFLAGS@
LDFLAGS= @LDFLAGS@ LDFLAGS= @LDFLAGS@
LDLAST= @LDLAST@ LDLAST= @LDLAST@
SGI_ABI= @SGI_ABI@ SGI_ABI= @SGI_ABI@
...@@ -471,6 +471,7 @@ Modules/python.o: $(srcdir)/Modules/python.c ...@@ -471,6 +471,7 @@ Modules/python.o: $(srcdir)/Modules/python.c
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
-@ mkdir Include
-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
$(PGEN): $(PGENOBJS) $(PGEN): $(PGENOBJS)
......
...@@ -960,6 +960,9 @@ Tools/Demos ...@@ -960,6 +960,9 @@ Tools/Demos
Build Build
----- -----
- Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
- Bug #1737210: Change Manufacturer of Windows installer to PSF. - Bug #1737210: Change Manufacturer of Windows installer to PSF.
- Bug #1746880: Correctly install DLLs into system32 folder on Win64. - Bug #1746880: Correctly install DLLs into system32 folder on Win64.
......
...@@ -238,7 +238,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | ...@@ -238,7 +238,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
no) SHAREDMODS="$SHAREDMODS $file";; no) SHAREDMODS="$SHAREDMODS $file";;
esac esac
rule="$file: $objs" rule="$file: $objs"
rule="$rule; \$(LDSHARED) $objs $libs $ExtraLibs -o $file" rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o $file"
echo "$rule" >>$rulesf echo "$rule" >>$rulesf
done done
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment