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:
Mike Swanson 2018-03-07 11:00:37 -08:00
parent d50a8a60a0
commit 685062a58f

View file

@ -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