Makefile: allow user set LDFLAGS for libbtrfs.so as well
Subsystems (2)
PATCH 1/1 Makefile: allow user set LDFLAGS for libbtrfs.so as well
From: Sergei Trofimovich <[email protected]>
Detected by gentoo's QA checker:
* QA Notice: Files built without respecting LDFLAGS have been detected
* Please include the following list of files in your report:
* /usr/lib/libbtrfs.so.0.1
Signed-off-by Sergei Trofimovich <[email protected]>
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -93,7 +93,7 @@ version.h: $(libs_shared): $(libbtrfs_objects) $(lib_links) send.h @echo " [LD] $@" - $(Q)$(CC) $(CFLAGS) $(libbtrfs_objects) $(lib_LIBS) -shared -Wl,-soname,libbtrfs.so -o libbtrfs.so.0.1 + $(Q)$(CC) $(CFLAGS) $(libbtrfs_objects) $(LDFLAGS) $(lib_LIBS) -shared -Wl,-soname,libbtrfs.so -o libbtrfs.so.0.1 $(libs_static): $(libbtrfs_objects) @echo " [AR] $@"
Signature · 1 line
1.8.1.2