diff options
author | Omar Sandoval <osandov@fb.com> | 2018-07-26 13:34:39 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:03:41 +0200 |
commit | a4770b0a013e5934461d05f256dd90266c4cf0c5 (patch) | |
tree | b7e8dc50a3dc92a3a7a4404c3d5f0f53478b9d69 /Makefile.inc.in | |
parent | 996a07c602e74a7da7d7ac2f1225d243c819af2e (diff) |
btrfs-progs: build: add --disable-shared and --disable-static
The build system mentioned in the previous commit builds libraries in
both PIC and non-PIC mode. Shared libraries don't work in PIC mode, so
it expects a --disable-shared configure option, which most open source
libraries using autoconf have. Let's add it, too.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Makefile.inc.in')
-rw-r--r-- | Makefile.inc.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc.in b/Makefile.inc.in index 5c8d1297..a86c528e 100644 --- a/Makefile.inc.in +++ b/Makefile.inc.in @@ -13,6 +13,8 @@ INSTALL = @INSTALL@ DISABLE_DOCUMENTATION = @DISABLE_DOCUMENTATION@ DISABLE_BTRFSCONVERT = @DISABLE_BTRFSCONVERT@ BUILD_PROGRAMS = @BUILD_PROGRAMS@ +BUILD_SHARED_LIBRARIES = @BUILD_SHARED_LIBRARIES@ +BUILD_STATIC_LIBRARIES = @BUILD_STATIC_LIBRARIES@ BTRFSCONVERT_EXT2 = @BTRFSCONVERT_EXT2@ BTRFSCONVERT_REISERFS = @BTRFSCONVERT_REISERFS@ BTRFSRESTORE_ZSTD = @BTRFSRESTORE_ZSTD@ |