We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a696c commit abfa2f1Copy full SHA for abfa2f1
utils/webassembly/build-swiftpm.sh
@@ -12,9 +12,9 @@ SWIFT_BUILD=${NIGHTLY_TOOLCHAIN}/usr/bin/swift-build
12
build_swiftpm() {
13
local build_flags=$SWIFT_BUILD_FLAGS
14
if [[ "$(uname)" == "Darwin" ]]; then
15
- rpath_prefix='@executable_path/../'
+ rpath_prefix='@executable_path/../lib/swift/macosx'
16
else
17
- rpath_prefix='$ORIGIN/../'
+ rpath_prefix='$ORIGIN/../lib/swift/linux'
18
fi
19
build_flags="${build_flags} -Xlinker -rpath -Xlinker ${rpath_prefix}"
20
cd ${SOURCE_PATH}/swiftpm
0 commit comments