Skip to content

Commit c3836e1

Browse files
authored
Do not hide libssp.dll.a (Windows import library) in private library dir (#52820)
Fix #51740 Since we are providing libssp.dll on Windows and we want to dynamically link to it, exposing libssp.dll.a is necessary. The inconsistency is that libjulia-codegen.so looks in build_libdir and build_private_libdir while standard library precompilation looks in build_shlibdir and build_private_dir.
1 parent 4d670fb commit c3836e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/csl.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ install-csl:
111111
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libgcc.a $(build_private_libdir)/
112112
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libmsvcrt.a $(build_private_libdir)/
113113
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libssp.dll.a $(build_private_libdir)/
114+
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libssp.dll.a $(build_libdir)/
114115
endif
115116
endif
116117
ifeq ($(OS),WINNT)
@@ -120,4 +121,5 @@ uninstall-gcc-libraries:
120121
-rm -f $(build_private_libdir)/libgcc.a
121122
-rm -f $(build_private_libdir)/libmsvcrt.a
122123
-rm -f $(build_private_libdir)/libssp.dll.a
124+
-rm -f $(build_libdir)/libssp.dll.a
123125
endif

0 commit comments

Comments
 (0)