From a7fcf3218d036d644285bc857309bf84c06f44a5 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 11 Oct 2019 11:25:24 +0200 Subject: 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 --- scripts/osmocom-build-old-tags-against-master.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/osmocom-build-old-tags-against-master.sh b/scripts/osmocom-build-old-tags-against-master.sh index c5e9685..58a0009 100755 --- a/scripts/osmocom-build-old-tags-against-master.sh +++ b/scripts/osmocom-build-old-tags-against-master.sh @@ -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" \ -- cgit v1.2.3