mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Here we fix a few portability issues affecting running the validation tests on OpenBSD. The remaining failures will be dealt with separately. 1. In the `rth` tool, ensure `-z origin` is specified to the linker when using `$ORIGIN`, as required on this platform. 2. Explicitly set the rpath in the `dsohandle-multi-module` execution test, since the test uses built dynamic libraries during the test. 3. Erase the environment variable instead of using `env -u`, the latter of which is not portable.
941 B
941 B