Skip to content

Commit

Permalink
libbtrfsutil: create all .so links
Browse files Browse the repository at this point in the history
Create symbolic links for all levels of major.minor.patch for
libbtrfsutil.

- libbtrfsutil.so       -> libbtrfsutil.so.1.3.0
- libbtrfsutil.so.1     -> libbtrfsutil.so.1.3.0
- libbtrfsutil.so.1.3   -> libbtrfsutil.so.1.3.0
- libbtrfsutil.so.1.3.0

Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
kdave committed May 24, 2024
1 parent 729277f commit 7469718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ static_tune_objects = $(patsubst %.o, %.static.o, $(tune_objects))

libs_shared = libbtrfs.so.$(libbtrfs_version) libbtrfsutil.so.$(libbtrfsutil_version)
lib_links = libbtrfs.so libbtrfs.so.$(LIBBTRFS_MAJOR) libbtrfs.so.$(LIBBTRFS_MAJOR).$(LIBBTRFS_MINOR) \
libbtrfsutil.so libbtrfsutil.so.$(libbtrfsutil_major)
libbtrfsutil.so libbtrfsutil.so.$(libbtrfsutil_major) libbtrfsutil.so.$(libbtrfsutil_major).$(libbtrfsutil_minor)
libs_build =
ifeq ($(BUILD_SHARED_LIBRARIES),1)
libs_build += $(libs_shared) $(lib_links)
Expand Down Expand Up @@ -642,7 +642,7 @@ libbtrfsutil.a: $(libbtrfsutil_objects)
@echo " [AR] $@"
$(Q)$(AR) cr $@ $^

libbtrfsutil.so.$(libbtrfsutil_major) libbtrfsutil.so: libbtrfsutil.so.$(libbtrfsutil_version)
libbtrfsutil.so libbtrfsutil.so.$(libbtrfsutil_major) libbtrfsutil.so.$(libbtrfsutil_major).$(libbtrfsutil_minor): libbtrfsutil.so.$(libbtrfsutil_version)
@echo " [LN] $@"
$(Q)$(LN_S) -f $< $@

Expand Down

0 comments on commit 7469718

Please sign in to comment.