summaryrefslogtreecommitdiff
path: root/plugins/mobicore
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mobicore')
-rw-r--r--plugins/mobicore/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/mobicore/Makefile.am b/plugins/mobicore/Makefile.am
index a1a3b08..761108e 100644
--- a/plugins/mobicore/Makefile.am
+++ b/plugins/mobicore/Makefile.am
@@ -4,6 +4,13 @@ lib_LTLIBRARIES = libmobicore.la
libdir = $(pluginslibdir)
+if BUILD_PYTHON_PACKAGE
+
+RUN_PATH = -Wl,-rpath,'$$ORIGIN/../chrysalide-libs'
+
+endif
+
+
libmobicore_la_SOURCES = \
core.h core.c \
mclf-def.h \
@@ -12,7 +19,9 @@ libmobicore_la_SOURCES = \
symbols.h symbols.c
libmobicore_la_LDFLAGS = \
- -L$(top_srcdir)/src/.libs -lchrysacore
+ -avoid-version \
+ -L$(top_srcdir)/src/.libs -lchrysacore \
+ $(RUN_PATH)
devdir = $(includedir)/chrysalide/$(subdir)