]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now
authorFlorian Weimer <fweimer@redhat.com>
Fri, 26 Apr 2019 05:16:56 +0000 (07:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 26 Apr 2019 05:16:56 +0000 (07:16 +0200)
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]").

ChangeLog
elf/Makefile

index a4f9c9e5c6a9b39eb33940cefcb444734d779fec..aac356bb69ca1028444af316cf0dc69b43ada495 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-04-26  Florian Weimer  <fweimer@redhat.com>
+
+       elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
+       * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
+
 2019-04-26  Florian Weimer  <fweimer@redhat.com>
 
        Makeconfig: Move -Wl,-rpath-link options before library references.
index 0b4a8778809e3be33ccc96f054a78e78c447d464..4895489208074d377529d00b4996cabae6c905a6 100644 (file)
@@ -125,6 +125,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 \