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