build-old-tags: remove LD_LIBRARY_PATH

Do not set LD_LIBRARY_PATH during builds, as this causes testsuites to
use the wrong libraries.

This bug appeared with libosmocore, it gets built for master first, and
then an old version like 1.2.0. When using LD_LIBRARY_PATH, the tests
during the 1.2.0 build are executed against the libosmo*.so from
master, which causes a few tests to fail.

Change-Id: I0bfb57e418b91c298337b9426448fbcfd7bf32e6
This commit is contained in:
Oliver Smith 2019-10-11 11:25:24 +02:00 committed by osmith
parent a94d67f02e
commit a7fcf3218d
1 changed files with 0 additions and 1 deletions

View File

@ -152,7 +152,6 @@ build_repo() {
if ! PATH="$PWD:$PATH"\
PKG_CONFIG_PATH="$TEMP/inst_master/lib/pkgconfig:$TEMP/inst_legacy/lib/pkgconfig:$PKG_CONFIG_PATH" \
LD_LIBRARY_PATH="$TEMP/inst_master/lib:$TEMP/inst_legacy/lib:$LD_LIBRARY_PATH" \
MAKE="make" \
PARALLEL_MAKE="$PARALLEL_MAKE" \
CHECK="$check" \