1diff --git a/tests/test_core.py b/tests/test_core.py
2index 2cdbb3a..032974c 100644
3--- a/tests/test_core.py
4+++ b/tests/test_core.py
5@@ -129,7 +129,7 @@ def test_findlib2():
6 open(os.path.join(fi_dir, "notalib.test.so"), "wb")
7
8 # Loading libs
9- gllib = ctypes.util.find_library("GL")
10+ gllib = "@libgl@"
11 core.load_lib([gllib], [])
12 # Fail
13 raises(ValueError, core.load_lib, [], []) # Nothing given