osandov / rpms / btrfs-progs

Forked from rpms/btrfs-progs 2 years ago
Clone

Blame 0001-libbtrfs-Set-SONAME-to-libbtrfs.so.0-instead-of-libb.patch

31ddd8
From df1f875e27730fe2b10812b585f3e6bbc5502d8f Mon Sep 17 00:00:00 2001
31ddd8
From: "Richard W.M. Jones" <rjones@redhat.com>
31ddd8
Date: Sun, 12 May 2013 16:27:12 +0100
31ddd8
Subject: [PATCH] libbtrfs: Set SONAME to "libbtrfs.so.0" (instead of
31ddd8
 "libbtrfs.so").
31ddd8
31ddd8
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
31ddd8
---
31ddd8
 Makefile | 2 +-
31ddd8
 1 file changed, 1 insertion(+), 1 deletion(-)
31ddd8
Eric Sandeen 911d89
Eric Sandeen 911d89
31ddd8
diff --git a/Makefile b/Makefile
Eric Sandeen 911d89
index da7438e..0446836 100644
31ddd8
--- a/Makefile
31ddd8
+++ b/Makefile
Eric Sandeen 911d89
@@ -100,7 +100,7 @@ version.h:
31ddd8
 $(libs_shared): $(libbtrfs_objects) $(lib_links) send.h
31ddd8
 	@echo "    [LD]     $@"
Eric Sandeen 911d89
 	$(Q)$(CC) $(CFLAGS) $(libbtrfs_objects) $(LDFLAGS) $(lib_LIBS) \
Eric Sandeen 911d89
-		-shared -Wl,-soname,libbtrfs.so -o libbtrfs.so.0.1
Eric Sandeen 911d89
+		-shared -Wl,-soname,libbtrfs.so.0 -o libbtrfs.so.0.1
31ddd8
 
31ddd8
 $(libs_static): $(libbtrfs_objects)
31ddd8
 	@echo "    [AR]     $@"
Eric Sandeen 911d89
31ddd8