summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-10-11 11:25:24 +0200
committerOliver Smith <osmith@sysmocom.de>2019-10-11 11:40:41 +0200
commit68b7f885c8a037af3d8cc282067f3b8bb2d553fb (patch)
tree01a8cbac7d05d3d4ebd75e4c0ff8a5cce6d0ee05
parenta8153577fec40c83193dddc69a0adc829dd57c7e (diff)
build-old-tags: remove LD_LIBRARY_PATHosmith/fix-old-tags-script
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
-rwxr-xr-xscripts/osmocom-build-old-tags-against-master.sh1
1 files changed, 0 insertions, 1 deletions
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" \