summaryrefslogtreecommitdiff
path: root/plugins/javadesc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadesc')
-rw-r--r--plugins/javadesc/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/javadesc/Makefile.am b/plugins/javadesc/Makefile.am
index 9474a87..c2ad3e7 100644
--- a/plugins/javadesc/Makefile.am
+++ b/plugins/javadesc/Makefile.am
@@ -8,9 +8,18 @@ if BUILD_PYTHON3_BINDINGS
PYTHON3_LIBADD = python/libjavadescpython.la
+if BUILD_DISCARD_LOCAL
+
+PYTHON3_LDFLAGS = -Wl,-rpath,$(pluginslibdir) \
+ -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so
+
+else
+
PYTHON3_LDFLAGS = -Wl,-rpath,$(abs_top_srcdir)/plugins/pychrysalide/.libs \
-L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so
+endif
+
PYTHON3_SUBDIRS = python
endif