From 135ddb4464909e2c85dda7275e91568109126ffc Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 20 Oct 2017 13:05:25 +0200 Subject: Makefile: Add lib to the runtime library path --- broccoli/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'broccoli/Makefile') diff --git a/broccoli/Makefile b/broccoli/Makefile index 1ab59e8..02d9f66 100644 --- a/broccoli/Makefile +++ b/broccoli/Makefile @@ -19,7 +19,7 @@ midbro_test: $(CC) test/midbro_test.c -I./includes -o bin/midbro_test -L./lib -lmidbro bin/pasad: build/pasad.o - $(CC) $^ $(INC) -o $@ -Llib -lmidbro + $(CC) $^ $(INC) -o $@ -Llib -lmidbro -Wl,-rpath=$(shell pwd)/lib build/%.o: src/%.c $(CC) $(LIBCFLAGS) $(DEBUG) $(INC) $< -o $@ -- cgit v1.2.3