have zlib respect BR2_PREFER_STATIC_LIB
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 8 Dec 2008 14:41:47 +0000 (14:41 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 8 Dec 2008 14:41:47 +0000 (14:41 -0000)
commit8e436ee7727164603dd8e9cc24af74872752b73e
treea16d60ee6fb6bfef929918c3cd6244db146814fa
parent38abffd280846d5f915db571755329e319c12f67
have zlib respect BR2_PREFER_STATIC_LIB

The ARM uClinux BFLT format apparently doesn't support shared libs nor
-fPIC.  So let's distinguish between shared and non shared builds by
having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB.

Signed-off-by: Nicolas Pitre <nico@cam.org>
package/zlib/zlib.mk