1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 06:57:33 +02:00

tests: avoid LD_PRELOAD lookup error for dlsym

* tests/cp/nfs-removal-race: Link with -ldl.
This commit is contained in:
Jim Meyering
2012-05-07 22:01:20 +02:00
parent ee9e43460f
commit fedebc59a0

View File

@@ -57,7 +57,7 @@ __xstat (int ver, const char *path, struct stat *st)
EOF
# Then compile/link it:
$CC -shared -fPIC -O2 k.c -o k.so \
$CC -shared -fPIC -O2 k.c -o k.so -ldl \
|| framework_failure_ 'failed to compile with -shared -fPIC'
touch d2 || framework_failure_