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 @@ -695,13 +695,17 @@ endif()
695
695
696
696
parse_makefile_for_executables (git_builtin_extra "BUILT_INS" )
697
697
698
+ option (SKIP_DASHED_BUILT_INS "Skip hardlinking the dashed versions of the built-ins" )
699
+
698
700
#Creating hardlinks
701
+ if (NOT SKIP_DASHED_BUILT_INS )
699
702
foreach (s ${git_SOURCES} ${git_builtin_extra} )
700
703
string (REPLACE "${CMAKE_SOURCE_DIR} /builtin/" "" s ${s} )
701
704
string (REPLACE ".c" "" s ${s} )
702
705
file (APPEND ${CMAKE_BINARY_DIR} /CreateLinks.cmake "file(CREATE_LINK git${EXE_EXTENSION} git-${s}${EXE_EXTENSION} )\n " )
703
706
list (APPEND git_links ${CMAKE_BINARY_DIR} /git-${s}${EXE_EXTENSION} )
704
707
endforeach ()
708
+ endif ()
705
709
706
710
if (CURL_FOUND )
707
711
set (remote_exes
You can’t perform that action at this time.
0 commit comments