libbtrfs: Set SONAME to "libbtrfs.so.0" (instead of "libbtrfs.so").
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 12 May 2013 15:33:44 +0000 (16:33 +0100)
committerDavid Sterba <dsterba@suse.cz>
Fri, 9 Aug 2013 12:32:29 +0000 (14:32 +0200)
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Makefile

index 945fe8a..8bef9b8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ version.h:
 $(libs_shared): $(libbtrfs_objects) $(lib_links) send.h
        @echo "    [LD]     $@"
        $(Q)$(CC) $(CFLAGS) $(libbtrfs_objects) $(LDFLAGS) $(lib_LIBS) \
-               -shared -Wl,-soname,libbtrfs.so -o libbtrfs.so.0.1
+               -shared -Wl,-soname,libbtrfs.so.0 -o libbtrfs.so.0.1
 
 $(libs_static): $(libbtrfs_objects)
        @echo "    [AR]     $@"