You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
935 B
25 lines
935 B
commit c57afec0a9b318bb691e0f5fa4e9681cf30df7a4 |
|
Author: Florian Weimer <fweimer@redhat.com> |
|
Date: Fri Apr 26 07:16:56 2019 +0200 |
|
|
|
elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now |
|
|
|
The audit module itself can be linked with BIND_NOW; it does not |
|
affect its functionality. |
|
|
|
This should complete the leftovers from commit |
|
2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9 ("Document and fix |
|
--enable-bind-now [BZ #21015]"). |
|
|
|
diff --git a/elf/Makefile b/elf/Makefile |
|
index 2b2662d5cf96c437..cfd039fc9dfb0be7 100644 |
|
--- a/elf/Makefile |
|
+++ b/elf/Makefile |
|
@@ -103,6 +103,7 @@ install-others += $(inst_auditdir)/sotruss-lib.so |
|
install-bin-script += sotruss |
|
generated += sotruss |
|
libof-sotruss-lib = extramodules |
|
+LDFLAGS-sotruss-lib.so += $(z-now-$(bind-now)) |
|
$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os |
|
$(build-module-asneeded) |
|
$(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \
|
|
|