mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
app-emulation/open-vm-tools: fix rpath issues with sysroot
Adding "-Ldir" to the link flags causes libtool to also add "-rpath dir". So if dir includes the expanded sysroot the resulting binary is going to wind up referring a path that doesn't exist. To avoid this use the special "=" path prefix that causes the linker to expand sysroot.
This commit is contained in:
parent
da6798a373
commit
be95f25ca1
@ -64,10 +64,10 @@ src_configure() {
|
||||
append-ldflags "-Wl,-rpath,${oemlib}"
|
||||
|
||||
# libdnet is installed to /usr/share/oem
|
||||
export CUSTOM_DNET_CPPFLAGS="-I${SYSROOT}${oeminc}"
|
||||
export CUSTOM_DNET_LIBS="-L${SYSROOT}${oemlib}"
|
||||
export CUSTOM_MSPACK_CPPFLAGS="-I${SYSROOT}${oeminc}"
|
||||
export CUSTOM_MSPACK_LIBS="-L${SYSROOT}${oemlib}"
|
||||
export CUSTOM_DNET_CPPFLAGS="-I=${oeminc}"
|
||||
export CUSTOM_DNET_LIBS="-L=${oemlib}"
|
||||
export CUSTOM_MSPACK_CPPFLAGS="-I=${oeminc}"
|
||||
export CUSTOM_MSPACK_LIBS="-L=${oemlib}"
|
||||
|
||||
# >=sys-process/procps-3.3.2 not handled by configure
|
||||
export CUSTOM_PROCPS_NAME=procps
|
||||
|
Loading…
x
Reference in New Issue
Block a user