File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ jobs:
292
292
run : |
293
293
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/arm64-windows \
294
294
-DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=arm64 -DVCPKG_ARCH=arm64-windows \
295
- -DCMAKE_INSTALL_PREFIX="`pwd`/git-arm64"
295
+ -DCMAKE_INSTALL_PREFIX="`pwd`/git-arm64" -DSKIP_DASHED_BUILT_INS=ON
296
296
- name : MSBuild
297
297
run : msbuild git.sln -property:Configuration=Release
298
298
- name : Link the Git executables
Original file line number Diff line number Diff line change @@ -698,13 +698,17 @@ endif()
698
698
699
699
parse_makefile_for_executables (git_builtin_extra "BUILT_INS" )
700
700
701
+ option (SKIP_DASHED_BUILT_INS "Skip hardlinking the dashed versions of the built-ins" )
702
+
701
703
#Creating hardlinks
704
+ if (NOT SKIP_DASHED_BUILT_INS )
702
705
foreach (s ${git_SOURCES} ${git_builtin_extra} )
703
706
string (REPLACE "${CMAKE_SOURCE_DIR} /builtin/" "" s ${s} )
704
707
string (REPLACE ".c" "" s ${s} )
705
708
file (APPEND ${CMAKE_BINARY_DIR} /CreateLinks.cmake "file(CREATE_LINK git${EXE_EXTENSION} git-${s}${EXE_EXTENSION} )\n " )
706
709
list (APPEND git_links ${CMAKE_BINARY_DIR} /git-${s}${EXE_EXTENSION} )
707
710
endforeach ()
711
+ endif ()
708
712
709
713
if (CURL_FOUND )
710
714
set (remote_exes
You can’t perform that action at this time.
0 commit comments