mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
tests: avoid LD_PRELOAD lookup error for dlsym
* tests/cp/nfs-removal-race: Link with -ldl.
This commit is contained in:
@@ -57,7 +57,7 @@ __xstat (int ver, const char *path, struct stat *st)
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Then compile/link it:
|
# 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'
|
|| framework_failure_ 'failed to compile with -shared -fPIC'
|
||||||
|
|
||||||
touch d2 || framework_failure_
|
touch d2 || framework_failure_
|
||||||
|
|||||||
Reference in New Issue
Block a user