stress: honor the BR2_PREFER_STATIC_LIB preference
authorroylee17 <roylee17@gmail.com>
Mon, 4 Mar 2013 07:47:20 +0000 (07:47 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Mar 2013 19:58:39 +0000 (20:58 +0100)
commit1b9a4f1e91ac98d836775c293acb9a947b846de1
tree224b0e477f2e4ea2e23f0fa99c865562dc21686c
parent63b2ee6b86e2214362bc75cb0363b42d11f15ff5
stress: honor the BR2_PREFER_STATIC_LIB preference

Stress is linked statically if the --enable-static is specified.
However, this option is always specified in the global
SHARED_STATIC_LIBS_OPTS to tell packages to build static libraries,
if supported.

If the BR2_PREFER_STATIC_LIB is not defined, we have to specify
--disable-static explicitly to get stress linked dynamically.

Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/stress/stress.mk