mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: avoid LD_PRELOAD lookup error for dlsym
* tests/cp/nfs-removal-race: Link with -ldl.
This commit is contained in:
1 parent
ee9e43460f
commit
fedebc59a0
1 file changed
+1
-1
@@ -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