diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-07 22:01:20 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-05-07 22:01:20 +0200 |
commit | fedebc59a040a7e34dce5c987b7f6fcf2cefa904 (patch) | |
tree | b6554c88390c47045f3688b5952fcc5e8653d9fd | |
parent | ee9e43460f366406edff96b5abfb3ff33587e062 (diff) | |
download | coreutils-fedebc59a040a7e34dce5c987b7f6fcf2cefa904.tar.xz |
tests: avoid LD_PRELOAD lookup error for dlsym
* tests/cp/nfs-removal-race: Link with -ldl.
-rwxr-xr-x | tests/cp/nfs-removal-race | 2 |
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_ |