file: Allow NOSHARED build, bring back -lz.
commit1bace1685a039af5d12b19ab595a96c39636263f
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 8 Nov 2017 08:59:38 +0000 (8 10:59 +0200)
committerzrj <zrj@dragonflybsd.org>
Wed, 8 Nov 2017 09:34:45 +0000 (8 11:34 +0200)
treeddc8b0e7ed33073d2cf912c4a925b524cccb2d3c
parent34a829419734fdea3a787aa059c39f1271ed862f
file: Allow NOSHARED build, bring back -lz.

This effectively reverts the e3b736ab82b63ca197aa7e3508f8a7e88c8db3fc.
Static libmagic.a does not know about its dependencies. Some mechanism to track
shared/static libs dependencies would be needed, especially for btools where we
have to keep temporal dimension of the base libraries evolution in mind.
usr.bin/file/Makefile