-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6wT3IACgkQrlYvE4MpobNlUACgjWIplrBjvo8vwZX1kDPzhuFZ G+0AoNWKQViSC/3veayENVvkH+My/pQ1 =OCqf -----END PGP SIGNATURE-----
>From a53826999dc5a212c14b2f12c24923c473bb74c6 Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@xxxxxxxxxxxxx> Date: Mon, 19 Sep 2011 11:23:03 -0400 Subject: [PATCH 33/63] policycoreutils: fix sandbox Makefile Fix sandbox Makefile so that make DESTDIR=~/out install works again. Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx> --- policycoreutils/sandbox/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/policycoreutils/sandbox/Makefile b/policycoreutils/sandbox/Makefile index 924999d..763e957 100644 --- a/policycoreutils/sandbox/Makefile +++ b/policycoreutils/sandbox/Makefile @@ -2,6 +2,7 @@ PREFIX ?= ${DESTDIR}/usr INITDIR ?= ${DESTDIR}/etc/rc.d/init.d/ SYSCONFDIR ?= ${DESTDIR}/etc/sysconfig +LIBDIR ?= $(PREFIX)/lib BINDIR ?= $(PREFIX)/bin SBINDIR ?= $(PREFIX)/sbin MANDIR ?= $(PREFIX)/share/man @@ -13,7 +14,7 @@ LDLIBS += -lcgroup -lselinux -lcap-ng all: sandbox seunshare sandboxX.sh start seunshare: seunshare.o $(EXTRA_OBJS) - $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) -L$(LIBDIR) install: all -mkdir -p $(BINDIR) -- 1.7.7