-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move linker wrapper to dedicated file.
- Loading branch information
Showing
3 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Generation of wrappers may be automated via linker wrapper `scripts/ld`. | ||
Adding it to `PATH` (in front of normal `ld`) would by default result | ||
in all dynamic libs (besides system ones) to be replaced with wrappers. | ||
Explicit list of libraries can be specified by exporting | ||
`IMPLIBSO_LD_OPTIONS` environment variable: | ||
``` | ||
export IMPLIBSO_LD_OPTIONS='--wrap-libs attr,acl' | ||
``` | ||
For more details run with | ||
``` | ||
export IMPLIBSO_LD_OPTIONS=--help | ||
``` | ||
|
||
Atm linker wrapper is only meant for testing. |