Add rpath to host executables
Host executables need rpath set so they can find their shared libraries. Change-Id: I297682d3266bb436af0f594e8164ee4b9e7ab234
This commit is contained in:
parent
581c189988
commit
8df14ac3f0
1 changed files with 2 additions and 0 deletions
|
@ -61,10 +61,12 @@ var (
|
|||
|
||||
linuxX86Ldflags = []string{
|
||||
"-m32",
|
||||
`-Wl,-rpath,\$$ORIGIN/../lib`,
|
||||
}
|
||||
|
||||
linuxX8664Ldflags = []string{
|
||||
"-m64",
|
||||
`-Wl,-rpath,\$$ORIGIN/../lib64`,
|
||||
}
|
||||
|
||||
linuxClangCflags = append([]string{
|
||||
|
|
Loading…
Reference in a new issue