aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--broccoli/Makefile2
1 files changed, 1 insertions, 1 deletions
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 $@