Message ID | 20211124173421.22d231b2@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | ab705c2de3f3932976b3a5188c8ae2b7b7b55d90 |
Headers | show |
Series | libtracefs: Don't ignore LDFLAGS when linking the shared libs | expand |
diff --git a/scripts/utils.mk b/scripts/utils.mk index 7a88b10..0b3c067 100644 --- a/scripts/utils.mk +++ b/scripts/utils.mk @@ -56,7 +56,7 @@ do_build_static_lib = \ do_compile_shared_library = \ ($(print_shared_lib_compile) \ - $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS)) + $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS)) do_compile_plugin_obj = \ ($(print_plugin_obj_compile) \