libbtrfsutil: move the linker sym file to our directory

Keep all the related files together.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-04-30 22:07:13 +02:00
parent c19ac510a7
commit b129cbafec
2 changed files with 2 additions and 2 deletions

View File

@ -508,11 +508,11 @@ libbtrfsutil/%.o: libbtrfsutil/%.c
@echo " [CC] $@"
$(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) -o $@ -c $< -o $@
libbtrfsutil.so.$(libbtrfsutil_version): $(libbtrfsutil_objects) libbtrfsutil.sym
libbtrfsutil.so.$(libbtrfsutil_version): $(libbtrfsutil_objects) libbtrfsutil/libbtrfsutil.sym
@echo " [LD] $@"
$(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) $(libbtrfsutil_objects) $(LIBBTRFSUTIL_LDFLAGS) \
-shared -Wl,-soname,libbtrfsutil.so.$(libbtrfsutil_major) \
-Wl,--version-script=libbtrfsutil.sym -o $@
-Wl,--version-script=libbtrfsutil/libbtrfsutil.sym -o $@
libbtrfsutil.a: $(libbtrfsutil_objects)
@echo " [AR] $@"