From d64b28d23b3d158bda0098419341a5e74290e632 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 3 Feb 2014 01:23:03 +0900 Subject: [PATCH] use -Wl,-rpath option --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a5828838..188f11b6 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ debug: build build: build-lib build-main build-main: - $(CC) $(CFLAGS) -D_GNU_SOURCE tools/main.c src/*.c -o bin/picrin -I./include -I./extlib -L./lib -lreadline -lm -lxfile + $(CC) $(CFLAGS) -D_GNU_SOURCE -Wl,-rpath lib tools/main.c src/*.c -o bin/picrin -I./include -I./extlib -L./lib -lreadline -lm -lxfile build-lib: cd src; \