Skip to content

Commit e677817

Browse files
committed
Use gcc command rather than find
1 parent bab10a9 commit e677817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ setenv=
2929
CFLAGS=-lasan -fsanitize=address -fno-omit-frame-pointer
3030
allowlist_externals=bash
3131
commands=
32-
bash -c 'export LD_PRELOAD=$(find /usr/lib -name "libasan.so*" | head -n 1) && printenv LD_PRELOAD && python -c "from isal import isal_zlib" && pytest tests'
32+
bash -c 'export LD_PRELOAD=$(gcc -print-file-name=libasan.so) && printenv LD_PRELOAD && python -c "from isal import isal_zlib" && pytest tests'
3333

3434
[testenv:compliance]
3535
deps=pytest

0 commit comments

Comments
 (0)