mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 00:04:23 +08:00
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 <dsterba@suse.com>
This commit is contained in:
parent
d4c7f01e37
commit
d6fc49d1dd
6
Makefile
6
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 $< $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user