summaryrefslogtreecommitdiff
path: root/plugins/arm
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-18 21:45:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-18 21:45:22 (GMT)
commitc0174a4bc5b12ace8e7449d26dad551f8434f62d (patch)
tree65c648bc76ff8f73e76cf8906d1b7720a6a3ea63 /plugins/arm
parent823e0e2f2a764fb2e9025b824e3fc63a8817e5c6 (diff)
Ensured each plugin dependency can be found at runtime.
Diffstat (limited to 'plugins/arm')
-rw-r--r--plugins/arm/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/arm/Makefile.am b/plugins/arm/Makefile.am
index 877f7f4..14eff6f 100644
--- a/plugins/arm/Makefile.am
+++ b/plugins/arm/Makefile.am
@@ -23,8 +23,10 @@ libarm_la_LIBADD = \
libarm_la_CFLAGS = $(AM_CFLAGS)
-libarm_la_LDFLAGS = $(LIBPYTHON_LIBS) $(LIBPYGOBJECT_LIBS) \
- -L$(top_srcdir)/src/.libs -lchrysacore
+libarm_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)