summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/nfs-removal-race2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/nfs-removal-race b/tests/cp/nfs-removal-race
index 6a435b0c5..cb8aba37f 100755
--- a/tests/cp/nfs-removal-race
+++ b/tests/cp/nfs-removal-race
@@ -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_