File tree 2 files changed +27
-1
lines changed
2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Install python3-saml dependencies on Vercel's Serverless Function
2
+ # environment (Amazon Linux)
3
+
4
+ yum install -y libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel
5
+ lib_files=(
6
+ libltdl.so.7
7
+ libltdl.so.7.3.0
8
+ libxml2.so.2
9
+ libxml2.so.2.9.1
10
+ libxmlsec1-openssl.so
11
+ libxmlsec1-openssl.so.1.2.20
12
+ libxmlsec1.so.1
13
+ libxmlsec1.so.1.2.20
14
+ libxslt.so.1
15
+ libxslt.so.1.1.28
16
+ )
17
+
18
+ mkdir lib
19
+ for file in " ${lib_files[@]} "
20
+ do
21
+ cp /usr/lib64/$file lib/
22
+ done
23
+
24
+ echo $PWD
25
+ ls
26
+ ls lib
Original file line number Diff line number Diff line change 1
1
{
2
- "buildCommand" : " cd ../.. && turbo run build --filter={apps/site} && cd apps/site && ./copy-api.sh" ,
2
+ "buildCommand" : " cd ../.. && turbo run build --filter={apps/site} && cd apps/site && ./copy-api.sh && ./vercel-lib.sh " ,
3
3
"functions" : {
4
4
"api/index.py" : {
5
5
"memory" : 512 ,
You can’t perform that action at this time.
0 commit comments