-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
When setting LDFLAGS in init-compiler, we do the escaping of "$ORIGIN" in rpath incorrectly - if you look at the output of a build you'll see rpath being set to something of the form 'RIGIN/../lib', when it should be '$ORIGIN/../lib'
I played around with it for awhile and unfortunately was not able to come up with an escaping that seems to actually work.
One possible solution would be to use a tool like chrpath or patchelf to update the rpath after everything is done, as I've done here: https://github.com/twmarshall/native-toolchain/tree/rpath, but this adds a dependency on a non-standard package, which isn't ideal.
Metadata
Metadata
Assignees
Labels
No labels