diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2014-10-02 15:26:21 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-10-02 16:35:09 +0100 |
commit | 2d3ba46e580cbc9e81edc4e8dd759f9fb0775161 (patch) | |
tree | 111f697864888e086c745364d5f98f7b98c9afb6 | |
parent | 4f87ca916c6b42a5b8a10ce7bc4e54f2ba06451c (diff) | |
download | coreutils-2d3ba46e580cbc9e81edc4e8dd759f9fb0775161.tar.xz |
tests: fix false failure for test referencing libdl
* init.cfg (gcc_shared_): -ldl has to be positioned after the object
files that may rely upon it. This fixes tests/cp/nfs-removal-race.sh
which references dlsym() from libdl.
-rw-r--r-- | init.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -521,7 +521,7 @@ gcc_shared_() local out=$2 shift 2 || return 1 - $CC -Wall -shared --std=gnu99 -fPIC -ldl -O2 $* "$in" -o "$out" + $CC -Wall -shared --std=gnu99 -fPIC -O2 $* "$in" -o "$out" -ldl } # There are a myriad of ways to build shared libs, |