From d6fc49d1dd2b594ebb1f03724042093eb48a7a37 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 5 Jan 2023 14:23:46 +0100 Subject: [PATCH] btrfs-progs: libbtrfs: move libbtrfs.sym to the directory The symbol definition is part of the library, move it away from the toplevel directory. Signed-off-by: David Sterba --- Makefile | 6 +++--- libbtrfs.sym => libbtrfs/libbtrfs.sym | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename libbtrfs.sym => libbtrfs/libbtrfs.sym (100%) diff --git a/Makefile b/Makefile index 44831c0c..0da0b553 100644 --- a/Makefile +++ b/Makefile @@ -546,16 +546,16 @@ kernel-lib/tables.c: @echo " [TABLE] $@" $(Q)./mktables > $@ || ($(RM) -f $@ && exit 1) -libbtrfs.so.0.1: $(libbtrfs_objects) libbtrfs.sym +libbtrfs.so.0.1: $(libbtrfs_objects) libbtrfs/libbtrfs.sym @echo " [LD] $@" $(Q)$(CC) $(CFLAGS) $(filter %.o,$^) $(LDFLAGS) $(LIBBTRFS_LIBS) \ - -shared -Wl,-soname,libbtrfs.so.0 -Wl,--version-script=libbtrfs.sym -o $@ + -shared -Wl,-soname,libbtrfs.so.0 -Wl,--version-script=libbtrfs/libbtrfs.sym -o $@ libbtrfs.a: $(libbtrfs_objects) @echo " [AR] $@" $(Q)$(AR) cr $@ $^ -libbtrfs.so.0 libbtrfs.so: libbtrfs.so.0.1 libbtrfs.sym +libbtrfs.so.0 libbtrfs.so: libbtrfs.so.0.1 libbtrfs/libbtrfs.sym @echo " [LN] $@" $(Q)$(LN_S) -f $< $@ diff --git a/libbtrfs.sym b/libbtrfs/libbtrfs.sym similarity index 100% rename from libbtrfs.sym rename to libbtrfs/libbtrfs.sym