Skip to content

DLLs missing when building Git using CMake  #2970

@dennisameling

Description

@dennisameling

When following the steps in #2915 (comment) to generate native arm64 binaries for Git for Windows, all DLLs like iconv-2.dll and zlib1.dll are missing in the folders with the generated binaries:

image

When I copy the required DLLs manually from C:\git-sdk-64\usr\src\git\compat\vcbuild\vcpkg\installed\arm64-windows\bin, all is good:

image

Same goes for /arm64/libexec/git-core - manually adding the DLLs works.

Does anyone have an idea how we can copy the DLLs during the CMake build process as well? I assume this needs to happen in INSTALL.vcxproj somehow? Happy to provide a PR if someone could put me in the right direction 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions