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:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user