aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e70326d..18de0b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
.POSIX:
CC = c99
CFLAGS = -std=c99 -Wall -Wextra -Wpedantic -fPIC -g
-LDFLAGS =
-LDLIBS =
+LDFLAGS = -Wl,-rpath,$$LIBRARY_PATH
+LDLIBS = -lsharedc
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
VERSION = 0.2.1