summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 993c17a..d3e7955 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,7 +38,7 @@ libumem_la_SOURCES = init_lib.c \
sys/vmem_impl_user.h
libumem_malloc_la_SOURCES = malloc.c
-libumem_malloc_la_LDFLAGS = -lpthread -ldl -lumem
+libumem_malloc_la_LDFLAGS = -lpthread -ldl -R$(libdir) -lumem
nobase_include_HEADERS = umem.h sys/vmem.h