summaryrefslogtreecommitdiff
path: root/plugins/elf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/elf/Makefile.am b/plugins/elf/Makefile.am
index ccfa2d5..fb95824 100644
--- a/plugins/elf/Makefile.am
+++ b/plugins/elf/Makefile.am
@@ -21,8 +21,10 @@ libelf_la_SOURCES = \
libelf_la_LIBADD = \
python/libelfpython.la
-libelf_la_LDFLAGS = $(LIBPYTHON_LIBS) $(LIBPYGOBJECT_LIBS) \
- -L$(top_srcdir)/src/.libs -lchrysacore
+libelf_la_LDFLAGS = \
+ -L$(top_srcdir)/src/.libs -lchrysacore \
+ -Wl,-rpath,$(abs_top_srcdir)/plugins/pychrysalide/.libs \
+ -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so
devdir = $(includedir)/chrysalide-$(subdir)