Skip to content

Commit bcfa3ec

Browse files
committed
debug
1 parent 3530f01 commit bcfa3ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stdlib.make.in

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ ifeq "${CMAKE_SYSTEM_NAME}" "Windows"
9595
# include Lean.Meta.WHNF and leancpp except for `initialize.cpp`
9696
"${LEANC}" -shared -o ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libleanshared_1${CMAKE_SHARED_LIBRARY_SUFFIX} \
9797
${LIB}/temp/Lean/Meta/WHNF.o.export -Wl,--start-group ${LIB}/lean/libLean.a.export -Wl,--whole-archive ${LIB}/temp/libleancpp_1.a -Wl,--no-whole-archive -Wl,--end-group -lInit_shared -Wl,--out-implib,${LIB}/lean/libleanshared_1.dll.a ${LEANSHARED_LINKER_FLAGS} ${TOOLCHAIN_SHARED_LINKER_FLAGS} ${LEANC_OPTS} ${LINK_OPTS} -Wl,-Map=${LIB}/temp/libleanshared_1.map
98+
cat ${LIB}/temp/libleanshared_1.map
9899
# now delete included symbols from libLean.a
99100
cp ${LIB}/lean/libLean.a.export ${LIB}/temp/diff.a
100101
sed -En 's/.*\s(\S*\.o\.export):.*/\1/p' ${LIB}/temp/libleanshared_1.map > ${LIB}/temp/diff.a.in

0 commit comments

Comments
 (0)