summaryrefslogtreecommitdiff
path: root/plugins/javadesc
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-03-23 09:01:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-03-23 09:01:30 (GMT)
commitfd0df8f884336fc69bd0938453f9712c166f08c8 (patch)
treef24313aa72a50d41b8076cf6b257129530bf562e /plugins/javadesc
parent03d5e6abfce49d4a18bbf70cbbaa3be8c58bf5b4 (diff)
Removed references to local sources if required.
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