Skip to content

Commit 4a9937f

Browse files
committed
Add linker directory for windows tests
1 parent 6816e0e commit 4a9937f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/BinaryCompatibilityTestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function testWindowsBinaryCompatibility(Version $version): void
6565
}
6666

6767
$binary = self::DIR_STORAGE . '/SDL2_image.dll';
68+
69+
// Set LoadLibrary linker directory
70+
\chdir(\dirname($binary));
71+
6872
$this->skipIfVersionNotCompatible($version, $binary);
6973
$this->assertHeadersCompatibleWith(SDL2Image::create($version), $binary);
7074
}

0 commit comments

Comments
 (0)