pkg/win32: Set LC_ALL=C before running ./cp-with-libs
Without doing this, objdump might output text in a non-Unicode locale and confuse Python. This is particularly the case when running on MS Windows, where Unicode locales aren't default for non-English regions.
This commit is contained in:
parent
d50a8a60a0
commit
685062a58f
1 changed files with 3 additions and 3 deletions
|
|
@ -38,12 +38,12 @@ hook-strife: staging-strife
|
|||
|
||||
staging-%:
|
||||
mkdir $@
|
||||
./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
$(TOPLEVEL)/src/$(PROGRAM_PREFIX)$*.exe $@
|
||||
./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
$(TOPLEVEL)/src/$(PROGRAM_PREFIX)setup.exe \
|
||||
$@/$(PROGRAM_PREFIX)$*-setup.exe
|
||||
./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" \
|
||||
$(TOPLEVEL)/midiproc/$(PROGRAM_PREFIX)midiproc.exe \
|
||||
$@/$(PROGRAM_PREFIX)midiproc.exe
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue