From da6230a7fb557b928e538b49ce1b53ecbe5deb84 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 17 Oct 2016 12:43:53 +0900 Subject: Move wrapper path from supple.host into supple.capi --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index adaff8f..47530df 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,8 @@ INCS := -I/usr/include/lua$(LUA_VER) OPT := -O0 -g WARN := -Wall -Werror DEFS := -D'LUA_INTERP_NAME="$(LUA_INTERP_NAME)"' \ - -D'LUA_INTERP_PATH="$(LUA_INTERP_PATH)"' + -D'LUA_INTERP_PATH="$(LUA_INTERP_PATH)"' \ + -D'WRAPPER_PATH="$(WRAPPER_PATH)"' CFLAGS := $(INCS) $(OPT) $(WARN) $(DEFS) $(CFLAGS) LFLAGS := -O1 -g $(LFLAGS) @@ -51,7 +52,7 @@ testwrapper: src/wrapper.c -chown root:root $@ && chmod u+s $@ ls -l $@ -COPY_LMOD := sed -e's!@@WRAPPER_BIN@@!$(WRAPPER_PATH)!g;/START_TEST_SUPPLE/,/END_TEST_SUPPLE/d' +COPY_LMOD := sed -e'/START_TEST_SUPPLE/,/END_TEST_SUPPLE/d' install: build mkdir -p $(LINST_ROOT)/supple -- cgit v1.2.1