aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobin Krahl <guskraro@student.gu.se>2017-10-20 13:05:25 +0200
committerRobin Krahl <guskraro@student.gu.se>2017-10-20 13:05:25 +0200
commit135ddb4464909e2c85dda7275e91568109126ffc (patch)
tree62baca9f82bed56a1d0389ab02a51b39e75da1a6 /broccoli/Makefile
parentca75b5fc5b505fa44a1f8705dd822dfcaa4ad455 (diff)
downloadmidbro-135ddb4464909e2c85dda7275e91568109126ffc.tar.gz
midbro-135ddb4464909e2c85dda7275e91568109126ffc.tar.bz2
Makefile: Add lib to the runtime library path
Diffstat (limited to 'broccoli/Makefile')
-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 $@