tools/make-ext4fs: Fix build on MacOSX
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Apr 2018 16:20:20 +0000 (18:20 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Apr 2018 22:57:07 +0000 (00:57 +0200)
commit60427a940f084efea7fbfc3f072dc4cff80b7e33
treef0c47829f3fbac6b2b53d9a5e77459a6a2d21107
parent2c192b69163fe8809a79b422abea06b41f9be1fb
tools/make-ext4fs: Fix build on MacOSX

MacOSX does not support "-Wl,-Bstatic" so do not force the static
linking.
We only copy the static libz library into the staging libraries
directories, the linker will anyway only find the static version and
link against that on all systems.

Fixes: 8dcd941d8b9 ("tools/zlib: move zlib build to tools")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
tools/make-ext4fs/Makefile