File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ spmBuild() {
255
255
256
256
# use static linking for Lambda
257
257
if [[ " x${static} " = " xyes" ]]; then
258
- STATIC_LINK_OPT=" -Xswiftc -static-stdlib"
258
+ STATIC_LINK_OPT=" -Xswiftc -static-stdlib -Xswiftc -static-executable "
259
259
for static_lib in " ${static_libs_a[@]} " ; do
260
260
STATIC_LINK_OPT=" ${STATIC_LINK_OPT} -Xswiftc -l${static_lib} "
261
261
done
Original file line number Diff line number Diff line change @@ -77,14 +77,13 @@ static=${static:=no}
77
77
if [[ " x${static} " = " xyes" ]]; then
78
78
# linking higher level stuff doesn't work quite right yet
79
79
# static_libs=${static_libs:=CoreFoundation CFXMLInterface FoundationXML icui18nswift icuucswift icudataswift DispatchStubs}
80
- static_libs=${static_libs:= icui18nswift icuucswift icudataswift DispatchStubs dispatch}
80
+ static_libs=${static_libs:= icui18nswift icuucswift icudataswift DispatchStubs dispatch atomic }
81
81
IFS=' , ' read -r -a static_libs_a <<< " $static_libs"
82
82
else
83
83
static_libs=
84
84
static_libs_a=()
85
85
fi
86
86
87
-
88
87
BUILD_IN_XCODE=no
89
88
if [[ -d " $PWD /Sources" ]]; then
90
89
SRCROOT=${SRCROOT:= $PWD } # CAREFUL - Different Meaning!!!
You can’t perform that action at this time.
0 commit comments