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