btrfs-progs: don't link binaries to a dynamic library
authorDavid Sterba <dsterba@suse.cz>
Tue, 12 Feb 2013 17:44:35 +0000 (18:44 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 Feb 2013 14:24:27 +0000 (15:24 +0100)
commit5e242256708816234434dfc373714f6cffbce666
treec7f8fa61c8a791922d1d56b8fdb9bf4b5cbd3cd5
parente5cb128a95eafac47e755cb4b83beb4c6c6af57c
btrfs-progs: don't link binaries to a dynamic library

Linking 'btrfs' and other binaries against the dynamic library makes it
tedious to use directly from the git repo. This is useful for testing
various fixes, but now it'd need to also set LD_LIBRARY_PATH or install
the library to a known path.

Add a target for static library and use it for linking, the dynamic
library is to be used by external users.

Signed-off-by: David Sterba <dsterba@suse.cz>
Makefile