This avoids overriding LD_LIBRARY_PATH that may be set by the user who invokes the building/testing process when not necessary.
In my case, LD_LIBRARY_PATH needs to be set in package building scripts, which invoke tests during the build process. LD_LIBRARY_PATH contains the local path where the built libsrtp binaries are located.
This avoids overriding
LD_LIBRARY_PATH
that may be set by the user who invokes the building/testing process when not necessary.In my case,
LD_LIBRARY_PATH
needs to be set in package building scripts, which invoke tests during the build process.LD_LIBRARY_PATH
contains the local path where the built libsrtp binaries are located.