From 5f6722305ee6d068c790bb0e458bcb80a94f6e24 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 6 Mar 2002 18:14:53 +0000 Subject: [PATCH] -rpath used to record the path to use to search for dynamic libraries which are not in LD_LIBRARY_PATH. (In our case, all the dynamic libraries of the bindings this one depends on.) --- helm/DEVEL/lablgtkmathview/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/DEVEL/lablgtkmathview/Makefile.in b/helm/DEVEL/lablgtkmathview/Makefile.in index 48fb33754..782acb049 100644 --- a/helm/DEVEL/lablgtkmathview/Makefile.in +++ b/helm/DEVEL/lablgtkmathview/Makefile.in @@ -68,7 +68,8 @@ $(ARCHIVE_OPT) $(ARCHIVE_A): $(OBJECTS_OPT) -cclib "`glib-config --libs` `gdome-config --libs` `gtkmathview-config --libs`" $(ARCHIVE_SO): $(OBJECTS_C) - gcc -shared -o $@ $< `gtkmathview-config --libs` -lmlgdome -L `ocamlfind query gdome2` + gcc -shared -o $@ $< `gtkmathview-config --libs` -lmlgdome -L `ocamlfind query gdome2` -Xlinker -rpath -Xlinker `ocamlfind query gdome2` + $(TESTDIR)/test: $(OBJECTS_C) $(ARCHIVE) $(TESTDIR)/test.ml -- 2.39.2