Skip to content

Commit fcdc3d5

Browse files
[LNT][Xcode] Add !# header to shim scripts
Add !# header to shim scripts that used for xcode based LNT tests so shells can correctly identify how to run them.
1 parent b4f4c62 commit fcdc3d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/caches/util/xcode_sdk.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if (CMAKE_C_COMPILER)
2828
macro(create_shim VARIABLE TOOLNAME)
2929
xcrun_find(SDK_TOOL_BIN ${TOOLNAME})
3030
file(WRITE ${CMAKE_BINARY_DIR}/${TOOLNAME} "
31+
#!/bin/bash
3132
# Shim to have the tool use the correct libLTO.dylib
3233
DYLD_LIBRARY_PATH=\"${COMPILER_DIR}/../lib:$DYLD_LIBRARY_PATH\" ${SDK_TOOL_BIN} \"$@\"
3334
")

0 commit comments

Comments
 (0)