We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3530f01 commit bcfa3ecCopy full SHA for bcfa3ec
src/stdlib.make.in
@@ -95,6 +95,7 @@ ifeq "${CMAKE_SYSTEM_NAME}" "Windows"
95
# include Lean.Meta.WHNF and leancpp except for `initialize.cpp`
96
"${LEANC}" -shared -o ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libleanshared_1${CMAKE_SHARED_LIBRARY_SUFFIX} \
97
${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
99
# now delete included symbols from libLean.a
100
cp ${LIB}/lean/libLean.a.export ${LIB}/temp/diff.a
101
sed -En 's/.*\s(\S*\.o\.export):.*/\1/p' ${LIB}/temp/libleanshared_1.map > ${LIB}/temp/diff.a.in
0 commit comments