Skip to content

Commit 6c9a724

Browse files
authored
Merge pull request #22049 from aschwaighofer/fix_dynamic_replacement_test_on_device
2 parents aaa4fab + d056297 commit 6c9a724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/dynamic_replacement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ DynamicallyReplaceable.test("DynamicallyReplaceable") {
133133
#elseif os(Windows)
134134
_ = LoadLibraryA(target_library_name("Module2"))
135135
#else
136-
_ = dlopen(target_library_name("Module2"), RTLD_NOW)
136+
_ = dlopen(executablePath+target_library_name("Module2"), RTLD_NOW)
137137
#endif
138138
checkExpectedResults(forOriginalLibrary: false)
139139
}

0 commit comments

Comments
 (0)