Please sign in to comment.
build: fixed our soname version function to find libs outside of /usr…
…/lib previously, we were only able to determine the sonames of libs in gcc's default search paths. Instead, we should be using linker paths since it's next to impossible to change where gcc looks. Use ld's paths instead for consistency. There are two primary reasons for this change: 1. Allow the use of libs in /usr/local, or anywhere else libs may be configured 2. Simplify cross builds where libs may be coming from a staging dir. In the 2nd case, adding a path to LDFLAGS means that we'll be able to find the SONAME. This works by doing a dumb "link" on the libname, so it uses the same mechanism as our dyloader.
- Loading branch information...