aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-10-05 14:20:29 -0700
committerLuis Hector Chavez <lhchavez@google.com>2018-10-05 14:45:46 -0700
commitf6423bb75c60d5c2cca0431355fa8e93037c34eb (patch)
treec0c2bbe630022025f932c2d759684a55b365cd68 /Makefile
parent689deb77cff5f5d2c02882e5bd1a23cec452b202 (diff)
downloadplatform_external_minijail-master-cuttlefish-testing-release.tar.gz
platform_external_minijail-master-cuttlefish-testing-release.tar.bz2
platform_external_minijail-master-cuttlefish-testing-release.zip
This change allows the use of an absolute path for LIBDIR. This should make it easier to locally test changes that use libminijailpreload.so Bug: None Test: LIBDIR=${PWD} make && ./minijail0 Change-Id: I8558fce40e916536a52b064a168f4326e4ba8793
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e303b500..2a4a28d2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@
BASE_VER=0
include common.mk
-LIBDIR ?= lib
+LIBDIR ?= /lib
PRELOADNAME = libminijailpreload.so
-PRELOADPATH = \"/$(LIBDIR)/$(PRELOADNAME)\"
+PRELOADPATH = \"$(LIBDIR)/$(PRELOADNAME)\"
CPPFLAGS += -DPRELOADPATH="$(PRELOADPATH)"
ifneq ($(HAVE_SECUREBITS_H),no)