[beast: 23/70] EBEAST: use LD_PRELOAD to pick up -lbse from $(builddir) for 'make run'
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 23/70] EBEAST: use LD_PRELOAD to pick up -lbse from $(builddir) for 'make run'
- Date: Tue, 28 Mar 2017 23:23:38 +0000 (UTC)
commit c8db634776fa9a771c2aa6efdc2d3eae0b069f7a
Author: Tim Janik <timj gnu org>
Date: Tue Feb 21 14:41:19 2017 +0100
EBEAST: use LD_PRELOAD to pick up -lbse from $(builddir) for 'make run'
For 'make run', we point LD_PRELOAD at the builddir libbse, to avoid picking
up an old installed libbse from /usr/lib or rpath settings.
Signed-off-by: Tim Janik <timj gnu org>
ebeast/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ebeast/Makefile.am b/ebeast/Makefile.am
index c9bf920..1c68e04 100644
--- a/ebeast/Makefile.am
+++ b/ebeast/Makefile.am
@@ -30,4 +30,6 @@ app:
# == run ==
run: app # requires: npm
+ LD_PRELOAD="$(abs_top_builddir)/bse/.libs/libbse-@MAJOR@.so" \
./node_modules/electron/dist/electron .
+# NOTE, prefer LD_PRELOAD over LD_LIBRARY_PATH, to pick up $(builddir)/libbse *before* /usr/lib/libbse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]