RepositoryExternal.mk |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c7a920a9b742ee273f3e7a8583d11eaeebf4fe1d
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Feb 23 08:51:28 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Feb 23 10:17:22 2022 +0100

    Sync the two definitions of python_arch_subdir
    
    ...in RepositoryExternal.mk and external/python3/ExternalPackage_python3.mk.
    The variance in trailing slash had caused
    <https://gerrit.libreoffice.org/c/core/+/130355> "external/python3: 
Explicitly
    check that all extension modules got built" to fail on Windows at
    <https://ci.libreoffice.org/job/gerrit_windows/120651/> with
    
    > Error: missing PCbuild/win32_asyncio_d.pyd
    > make[1]: *** 
[C:/cygwin64/home/tdf/lode/jenkins/workspace/gerrit_windows/external/python3/ExternalProject_python3.mk:37:
 
C:/cygwin64/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/ExternalProject/python3/build]
 Error 1
    
    (and note the missing slash in "PCbuild/win32_asyncio_d.pyd").
    
    (Ideally, these two definitions would be consolidated anyway, but that's 
left
    for later.)
    
    Change-Id: If2e6081e966bf3931eb0092616705521b4cfd3ce
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130410
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index f63c95c142ea..b51660e182cb 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -3164,14 +3164,14 @@ endif
 
 ifeq ($(OS),WNT)
 ifeq ($(CPUNAME),X86_64)
-python_arch_subdir=amd64
+python_arch_subdir=amd64/
 else ifeq ($(CPUNAME),AARCH64)
-python_arch_subdir=arm64
+python_arch_subdir=arm64/
 else
-python_arch_subdir=win32
+python_arch_subdir=win32/
 endif
 $(call gb_LinkTarget_add_libs,$(1),\
-       $(call 
gb_UnpackedTarball_get_dir,python3)/PCbuild/$(python_arch_subdir)/python$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if
 $(MSVC_USE_DEBUG_RUNTIME),_d).lib \
+       $(call 
gb_UnpackedTarball_get_dir,python3)/PCbuild/$(python_arch_subdir)python$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if
 $(MSVC_USE_DEBUG_RUNTIME),_d).lib \
 )
 else ifeq ($(OS),MACOSX)
 $(call gb_LinkTarget_add_libs,$(1),\

Reply via email to