diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-26 00:50:16 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-26 00:50:16 -0500 |
commit | 1d8dac7eee63b01e70239872e297d60994f08865 (patch) | |
tree | b7ef7197a270ac7b376772fd5e3c327aa743c08a /src | |
parent | sandbox.bashrc: provide simple fallback e* msg funcs (diff) | |
download | sandbox-1d8dac7eee63b01e70239872e297d60994f08865.tar.gz sandbox-1d8dac7eee63b01e70239872e297d60994f08865.tar.bz2 sandbox-1d8dac7eee63b01e70239872e297d60994f08865.zip |
libsbutil: find libsandbox.so in non-standard paths
If installing sandbox into a non-standard location (and the library ends up
in a non-standard path where the ELF loader does not search), then set the
LD_PRELOAD variable to the full path.
URL: http://bugs.gentoo.org/254358
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Jeremy Olexa <darkside@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3f25419..bb59ccb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,10 +13,8 @@ INCLUDES = \ -I$(top_srcdir)/libsbutil \ -I$(top_srcdir)/libsbutil/include -sandbox_CFLAGS = -DOUTSIDE_LIBSANDBOX -sandbox_LDADD = $(top_builddir)/libsbutil/libsbutil.la +sandbox_LDADD = $(top_builddir)/libsbutil/libsbutil.la -ldl sandbox_SOURCES = \ environ.c \ sandbox.h \ sandbox.c - |