summaryrefslogtreecommitdiff
path: root/plugins/readelf
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/readelf
parent823e0e2f2a764fb2e9025b824e3fc63a8817e5c6 (diff)
Ensured each plugin dependency can be found at runtime.
Diffstat (limited to 'plugins/readelf')
-rw-r--r--plugins/readelf/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/readelf/Makefile.am b/plugins/readelf/Makefile.am
index 5e3496d..463bca5 100644
--- a/plugins/readelf/Makefile.am
+++ b/plugins/readelf/Makefile.am
@@ -13,9 +13,10 @@ libreadelf_la_SOURCES = \
libreadelf_la_CFLAGS = $(AM_CFLAGS)
-libreadelf_la_LDFLAGS = -L$(top_srcdir)/plugins/fmtp/.libs -lfmtp \
- -L$(top_srcdir)/src/.libs -lchrysacore
-
+libreadelf_la_LDFLAGS = \
+ -L$(top_srcdir)/src/.libs -lchrysacore \
+ -L$(top_srcdir)/plugins/elf/.libs -lelf \
+ -L$(top_srcdir)/plugins/fmtp/.libs -lfmtp
devdir = $(includedir)/chrysalide-$(subdir)