author | Chris Lamb
<lamby@debian.org> 2009-07-24 16:57:49 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-24 18:14:26 UTC |
parent | e7d1a46ad278e520ecf69d2095761ce3fee020e4 |
preload/run/Makefile | +4 | -1 |
preload/run/fiu-run.in | +1 | -1 |
diff --git a/preload/run/Makefile b/preload/run/Makefile index f69e035..ec419ea 100644 --- a/preload/run/Makefile +++ b/preload/run/Makefile @@ -14,6 +14,9 @@ endif # prefix for installing the binaries PREFIX=/usr/local +# location of preload libraries +PLIBPATH=$(PREFIX)/lib + # install utility, we assume it's GNU/BSD compatible INSTALL=install @@ -55,7 +58,7 @@ fiu_run_preload.so: build-flags $(OBJS) -o fiu_run_preload.so fiu-run: build-flags fiu-run.in - cat fiu-run.in | sed "s+@@PREFIX@@+$(PREFIX)+g" > fiu-run + cat fiu-run.in | sed "s+@@PLIBPATH@@+$(PLIBPATH)+g" > fiu-run chmod +x fiu-run install: fiu_run_preload.so fiu-run diff --git a/preload/run/fiu-run.in b/preload/run/fiu-run.in index 4870097..db33777 100644 --- a/preload/run/fiu-run.in +++ b/preload/run/fiu-run.in @@ -8,7 +8,7 @@ FIFO_PREFIX="${TMPDIR:-/tmp}/fiu-ctrl" # default library path to look for preloader libraries -PLIBPATH="@@PREFIX@@/lib" +PLIBPATH="@@PLIBPATH@@" # the enable string to pass to the preload library (via the FIU_ENABLE # environment variable)