aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJorge Lucangeli Obes <jorgelo@google.com>2016-08-13 17:34:03 -0400
committerJorge Lucangeli Obes <jorgelo@google.com>2016-08-13 17:34:03 -0400
commit24d95f084d07522e4e7e98ac9661e21fc6213cc4 (patch)
tree10b4abe166ef9d0ed0ea8dc2c335350fe7d4c0b1 /Makefile
parent937ae7af62f114fbaf05578f5c4538b433aa6c2e (diff)
downloadminijail-24d95f084d07522e4e7e98ac9661e21fc6213cc4.tar.gz
Fix LIBDIR variable.
Turns out to be easier to keep the leading slash in PRELOADPATH. Bug: None Change-Id: I65200f892cbc113506b0fcebc8bdc0bb9c87f2c5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 466d9f1..25e6494 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@
include common.mk
-LIBDIR ?= /lib
+LIBDIR ?= lib
PRELOADNAME = libminijailpreload.so
-PRELOADPATH = \"$(LIBDIR)/$(PRELOADNAME)\"
+PRELOADPATH = \"/$(LIBDIR)/$(PRELOADNAME)\"
CPPFLAGS += -DPRELOADPATH="$(PRELOADPATH)"
ifneq ($(HAVE_SECUREBITS_H),no)