diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-18 21:45:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-18 21:45:22 (GMT) |
commit | c0174a4bc5b12ace8e7449d26dad551f8434f62d (patch) | |
tree | 65c648bc76ff8f73e76cf8906d1b7720a6a3ea63 /plugins/elf | |
parent | 823e0e2f2a764fb2e9025b824e3fc63a8817e5c6 (diff) |
Ensured each plugin dependency can be found at runtime.
Diffstat (limited to 'plugins/elf')
-rw-r--r-- | plugins/elf/Makefile.am | 6 |
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) |