From f9afa6ccf6f36b986d3df74a3cd173493770833f Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 28 Jul 2017 06:24:51 +0000 Subject: README: update this --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2610de3..82c2d5d 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,12 @@ If the interpreter path is different than expected, use PatchELF or install a sy ## making musl programs accept glibc binaries for dlopen(3) -Just add libgcompat.so to the DT_NEEDED entries in the ELF that you want to have the gcompat symbols available in. -Use a tool such as PatchELF for this. +You have two options: + +* You can add libgcompat.so to the DT_NEEDED entries in the ELF that you want to have the gcompat symbols available in. + Use a tool such as PatchELF for this. + +* Alternatively, you can link the musl binary against libgcompat. ## special environment variables -- cgit v1.2.3-70-g09d2