mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
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:
parent
c19ac510a7
commit
b129cbafec
4
Makefile
4
Makefile
@ -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] $@"
|
||||
|
Loading…
Reference in New Issue
Block a user