tests: compile and link shared object with $CC to make LD_PRELOAD work
commit409a7cc7ea877399d10ff15d875c68bd5edc3288
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 27 Feb 2012 20:13:10 +0000 (27 21:13 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 29 Feb 2012 09:01:50 +0000 (29 10:01 +0100)
tree8de8f50d446d4550f625647dbe7948a53688351d
parent4e776faa8482ae630d2ea9bc767298e664f07ba9
tests: compile and link shared object with $CC to make LD_PRELOAD work

* tests/ls/getxattr-speedup: Compile and link in one step with $CC.
If the shared object file is created by ld (binutils), then the
destructor print_call_count() may not run (seen on OpenSuSE 12.1).
See http://lists.opensuse.org/opensuse/2012-02/msg01342.html
Thanks to Cristian Rodríguez.
tests/ls/getxattr-speedup