Skip to content

Commit 1a857aa

Browse files
authored
fix: do not link to Lake_shared with absolute path (#5286)
batteries CI fell over this but there was no PR comment
1 parent c2761dc commit 1a857aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib.make.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ${CMAKE_BINARY_DIR}/bin/lake${CMAKE_EXECUTABLE_SUFFIX}: ${LIB}/temp/LakeMain.o.e
113113
@echo "[ ] Building $@"
114114
# on Windows, must remove file before writing a new one (since the old one may be in use)
115115
@rm -f $@
116-
"${CMAKE_BINARY_DIR}/leanc.sh" $^ ${CMAKE_EXE_LINKER_FLAGS_MAKE} ${LEANC_OPTS} -o $@
116+
"${CMAKE_BINARY_DIR}/leanc.sh" $< -lLake_shared ${CMAKE_EXE_LINKER_FLAGS_MAKE} ${LEANC_OPTS} -o $@
117117

118118
lake: ${CMAKE_BINARY_DIR}/bin/lake${CMAKE_EXECUTABLE_SUFFIX}
119119

0 commit comments

Comments
 (0)